Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 120.2 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 75.88 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 53.37 MB / 427.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.2226/0.3269, allocations: 4.974 MB / 432.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.3291, allocations: 1.285 MB / 433.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.3294, allocations: 15.12 kB / 433.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.3297, allocations: 125.4 kB / 433.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.33, allocations: 259.2 kB / 433.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.3305, allocations: 317.4 kB / 434 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007718/0.3313, allocations: 1.094 MB / 435.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.3316, allocations: 192.8 kB / 435.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.3319, allocations: 428.6 kB / 435.7 MB, free: 7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004826/0.3324, allocations: 474.4 kB / 436.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.3326, allocations: 89.78 kB / 436.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.3328, allocations: 116.8 kB / 436.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3329, allocations: 203.3 kB / 436.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.3333, allocations: 455.1 kB / 437.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.3344, allocations: 1.032 MB / 438.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3344, allocations: 0.7812 kB / 438.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3344, allocations: 0 / 438.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.3345, allocations: 2.5 kB / 438.1 MB, free: 6.168 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002468/0.3369, allocations: 1.288 MB / 439.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.337, allocations: 14.14 kB / 439.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.069e-05/0.337, allocations: 16.81 kB / 439.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.3371, allocations: 106.5 kB / 439.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.3373, allocations: 99.95 kB / 439.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.3379, allocations: 488.5 kB / 440.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.3379, allocations: 48.8 kB / 440.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.338, allocations: 73.61 kB / 440.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.3395, allocations: 0.658 MB / 440.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.3395, allocations: 0 / 440.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.3396, allocations: 26.38 kB / 440.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.3396, allocations: 16.34 kB / 440.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.3413, allocations: 0.6974 MB / 441.6 MB, free: 4.258 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.3452, allocations: 2.375 MB / 444 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.3466, allocations: 0.5679 MB / 444.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.3473, allocations: 305.8 kB / 444.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.3474, allocations: 8.719 kB / 444.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008695/0.3482, allocations: 433 kB / 445.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.414e-06/0.3482, allocations: 1.031 kB / 445.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06867/0.4169, allocations: 15.38 MB / 460.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.417, allocations: 144.8 kB / 460.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.4179, allocations: 0.5174 MB / 461.3 MB, free: 12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/0.4182, allocations: 46.36 kB / 461.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.4186, allocations: 399.5 kB / 461.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.419, allocations: 327.2 kB / 462.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/0.4194, allocations: 192.2 kB / 462.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.4196, allocations: 389.7 kB / 462.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.4219, allocations: 0.7192 MB / 463.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.4242, allocations: 0.956 MB / 464.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/0.4286, allocations: 1.695 MB / 466 MB, free: 8.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.4286, allocations: 4 kB / 466 MB, free: 8.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0233/0.4519, allocations: 5.333 MB / 471.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.059e-05/0.452, allocations: 65.42 kB / 471.4 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.452, allocations: 12.12 kB / 471.4 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03419/0.4862, allocations: 6.829 MB / 478.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.487, allocations: 151.7 kB / 478.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006259/0.4932, allocations: 3.009 MB / 481.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.495, allocations: 183.8 kB / 481.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4952, allocations: 51.97 kB / 481.6 MB, free: 8.719 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.000602/0.4958, allocations: 221.7 kB / 481.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.4959, allocations: 85.03 kB / 481.9 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02223/0.5182, allocations: 5.058 MB / 487 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.5182, allocations: 8 kB / 487 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.5182, allocations: 3.984 kB / 487 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.5182, allocations: 3.984 kB / 487 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.5201, allocations: 1.113 MB / 488.1 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5201, allocations: 0 / 488.1 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.5206, allocations: 99.81 kB / 488.2 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03352/0.5541, allocations: 6.785 MB / 495 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/0.5544, allocations: 19.98 kB / 495 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006311/0.5607, allocations: 3.029 MB / 498.1 MB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5607, allocations: 0 / 498.1 MB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/0.5856, allocations: 5.944 MB / 0.4922 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.5859, allocations: 156.5 kB / 0.4923 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.5861, allocations: 24 kB / 0.4924 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.5875, allocations: 163.8 kB / 0.4925 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.5878, allocations: 96.88 kB / 0.4926 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-05/0.5879, allocations: 31.97 kB / 0.4926 GB, free: 1.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004795/0.5884, allocations: 354.8 kB / 0.493 GB, free: 1.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5884, allocations: 7.938 kB / 0.493 GB, free: 1.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008597/0.5892, allocations: 256 kB / 0.4932 GB, free: 1.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02558/0.6148, allocations: 6.534 MB / 0.4996 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006256/0.6211, allocations: 1.955 MB / 0.5015 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.6211, allocations: 1.375 kB / 0.5015 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003763/0.6248, allocations: 1.013 MB / 0.5025 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.6258, allocations: 133 kB / 0.5026 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07004/0.6958, allocations: 15.91 MB / 0.5182 GB, free: 7.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.6964, allocations: 0.9507 MB / 0.5191 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003538/0.6968, allocations: 60.19 kB / 0.5192 GB, free: 6.207 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.6972, allocations: 271.3 kB / 0.5194 GB, free: 5.941 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.6972, allocations: 0 / 0.5194 GB, free: 5.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09339/0.7906, allocations: 30.01 MB / 0.5487 GB, free: 8.184 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.37, allocations: 8 kB / 0.5487 GB, free: 8.176 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.465016502013896]