Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.6 MB / 231.8 MB, free: 3.988 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 55.92 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1043, allocations: 49.12 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006039/0.1104, allocations: 4.715 MB / 396.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.1128, allocations: 1.287 MB / 397.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.1131, allocations: 8 kB / 397.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.1134, allocations: 118.8 kB / 397.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.1139, allocations: 253.8 kB / 397.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.1146, allocations: 299.5 kB / 398.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1157, allocations: 1.048 MB / 399.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.116, allocations: 186.3 kB / 399.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/0.1164, allocations: 414.6 kB / 399.7 MB, free: 360 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.117, allocations: 466.2 kB / 400.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.1171, allocations: 92 kB / 400.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.1173, allocations: 116 kB / 400.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.1175, allocations: 191.2 kB / 400.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.1179, allocations: 441.9 kB / 401 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1189, allocations: 0.996 MB / 402 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.119, allocations: 0 / 402 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.119, allocations: 0 / 402 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.119, allocations: 0 / 402 MB, free: 14.07 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002519/0.1215, allocations: 1.234 MB / 403.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1215, allocations: 8.031 kB / 403.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.1217, allocations: 106.7 kB / 403.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.1218, allocations: 92.38 kB / 403.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/0.1225, allocations: 485.7 kB / 403.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.1226, allocations: 49.62 kB / 403.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.1227, allocations: 60.38 kB / 404 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.124, allocations: 0.6351 MB / 404.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.124, allocations: 8 kB / 404.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.1241, allocations: 27.98 kB / 404.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.1241, allocations: 16 kB / 404.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.1258, allocations: 0.6765 MB / 405.3 MB, free: 10.57 MB / 334.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.003857/0.1296, allocations: 2.305 MB / 407.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.131, allocations: 0.5669 MB / 408.2 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/0.1317, allocations: 314 kB / 408.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.1318, allocations: 8.422 kB / 408.5 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000899/0.1327, allocations: 425.4 kB / 408.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.254e-06/0.1327, allocations: 0 / 408.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06764/0.2003, allocations: 15.38 MB / 424.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.2004, allocations: 145.5 kB / 424.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/0.2012, allocations: 494.9 kB / 424.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.2014, allocations: 45.7 kB / 425 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.2017, allocations: 372.8 kB / 425.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.202, allocations: 329.2 kB / 425.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.2024, allocations: 186.5 kB / 425.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.2026, allocations: 382.8 kB / 426.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.2045, allocations: 0.7163 MB / 426.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.2066, allocations: 0.9226 MB / 427.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004001/0.2106, allocations: 1.658 MB / 429.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.2106, allocations: 0 / 429.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02318/0.2338, allocations: 5.312 MB / 434.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.941e-05/0.2339, allocations: 63.34 kB / 434.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.2339, allocations: 8 kB / 434.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03377/0.2677, allocations: 6.821 MB / 441.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.2684, allocations: 139.8 kB / 441.9 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/0.2748, allocations: 3.024 MB / 444.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.2764, allocations: 171.9 kB / 445.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.2765, allocations: 47.97 kB / 445.1 MB, free: 2.164 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0004343/0.2769, allocations: 221.6 kB / 445.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.2771, allocations: 83.53 kB / 445.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02181/0.2989, allocations: 5.052 MB / 450.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/0.2989, allocations: 16 kB / 450.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.2989, allocations: 0 / 450.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.299, allocations: 3.984 kB / 450.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.3006, allocations: 1.108 MB / 451.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3006, allocations: 0 / 451.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/0.3011, allocations: 95.83 kB / 451.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03289/0.334, allocations: 6.789 MB / 458.5 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.3342, allocations: 27.97 kB / 458.5 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/0.34, allocations: 3.025 MB / 461.5 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.34, allocations: 8.031 kB / 461.5 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2289/0.5689, allocations: 5.938 MB / 467.5 MB, free: 68.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.5691, allocations: 143.9 kB / 467.6 MB, free: 68.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.5692, allocations: 16.31 kB / 467.6 MB, free: 68.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.5705, allocations: 169.8 kB / 467.8 MB, free: 68.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.5707, allocations: 97.7 kB / 467.9 MB, free: 68.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.5708, allocations: 30.31 kB / 467.9 MB, free: 68.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003566/0.5712, allocations: 334.6 kB / 468.2 MB, free: 68.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5712, allocations: 3.906 kB / 468.2 MB, free: 68.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006657/0.5718, allocations: 258.1 kB / 468.5 MB, free: 68.07 MB / 382.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.02213/0.594, allocations: 6.523 MB / 475 MB, free: 66.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005051/0.599, allocations: 1.959 MB / 477 MB, free: 65.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.599, allocations: 0 / 477 MB, free: 65.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003082/0.6021, allocations: 1.007 MB / 478 MB, free: 64.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.6029, allocations: 131 kB / 478.1 MB, free: 64.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04781/0.6507, allocations: 15.68 MB / 493.8 MB, free: 50.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.651, allocations: 0.9408 MB / 494.7 MB, free: 49.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.6513, allocations: 54.08 kB / 494.8 MB, free: 49.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.6516, allocations: 259.3 kB / 495 MB, free: 49.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.803e-06/0.6516, allocations: 0 / 495 MB, free: 49.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/0.7052, allocations: 29.53 MB / 0.5123 GB, free: 19.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.12, allocations: 3.984 kB / 0.5123 GB, free: 19.62 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0397062 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.828930378891528]