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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 118 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.779/1.779, allocations: 207.6 MB / 231.8 MB, free: 4.051 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 55.91 kB / 342.3 MB, free: 9.973 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1237, allocations: 49.13 MB / 391.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.008979/0.1327, allocations: 4.703 MB / 396.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004019/0.1367, allocations: 1.287 MB / 397.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1377, allocations: 15.94 kB / 397.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.1382, allocations: 106.8 kB / 397.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009025/0.1391, allocations: 253.8 kB / 397.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1402, allocations: 303.4 kB / 398.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.1417, allocations: 1.048 MB / 399.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.1422, allocations: 194.3 kB / 399.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007992/0.143, allocations: 418.6 kB / 399.7 MB, free: 324 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.1437, allocations: 470 kB / 400.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.1439, allocations: 88 kB / 400.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.1441, allocations: 116 kB / 400.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.1443, allocations: 191.3 kB / 400.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004712/0.1448, allocations: 449.9 kB / 401 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.146, allocations: 0.9882 MB / 402 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1461, allocations: 0 / 402 MB, free: 14.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1461, allocations: 0 / 402 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.1461, allocations: 4 kB / 402 MB, free: 14.03 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.003068/0.1491, allocations: 1.234 MB / 403.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.1492, allocations: 12.03 kB / 403.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.1494, allocations: 106.7 kB / 403.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.1496, allocations: 92.38 kB / 403.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008463/0.1504, allocations: 477.7 kB / 403.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.1505, allocations: 53.69 kB / 404 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.1506, allocations: 60.38 kB / 404 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.1522, allocations: 0.6312 MB / 404.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.1522, allocations: 0 / 404.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.1523, allocations: 24 kB / 404.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1523, allocations: 15.98 kB / 404.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.1542, allocations: 0.6843 MB / 405.4 MB, free: 10.54 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.004617/0.1588, allocations: 2.313 MB / 407.7 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.1604, allocations: 0.5592 MB / 408.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008044/0.1612, allocations: 306 kB / 408.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.139e-05/0.1613, allocations: 12.42 kB / 408.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.1623, allocations: 429.4 kB / 409 MB, free: 6.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.455e-06/0.1623, allocations: 0 / 409 MB, free: 6.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07344/0.2358, allocations: 15.37 MB / 424.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.2359, allocations: 141.5 kB / 424.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/0.2366, allocations: 0.491 MB / 425 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.2369, allocations: 45.7 kB / 425 MB, free: 6.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.2372, allocations: 376.7 kB / 425.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/0.2376, allocations: 325.2 kB / 425.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.238, allocations: 182.5 kB / 425.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.2382, allocations: 382.8 kB / 426.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.2404, allocations: 0.7241 MB / 427 MB, free: 4.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.2428, allocations: 0.9303 MB / 427.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004727/0.2476, allocations: 1.658 MB / 429.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2476, allocations: 3.938 kB / 429.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02434/0.2719, allocations: 5.308 MB / 434.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.272, allocations: 63.41 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.272, allocations: 4 kB / 435 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03492/0.3069, allocations: 6.825 MB / 441.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.3077, allocations: 143.8 kB / 441.9 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006666/0.3144, allocations: 3.02 MB / 444.9 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.3162, allocations: 179.9 kB / 445.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.3164, allocations: 47.97 kB / 445.2 MB, free: 2.117 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.0005667/0.317, allocations: 213.7 kB / 445.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.3172, allocations: 75.53 kB / 445.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02371/0.341, allocations: 5.064 MB / 450.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/0.341, allocations: 12 kB / 450.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.341, allocations: 0 / 450.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-05/0.341, allocations: 3.984 kB / 450.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/0.3435, allocations: 1.104 MB / 451.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.3435, allocations: 3.984 kB / 451.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.3441, allocations: 87.89 kB / 451.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03469/0.3788, allocations: 6.785 MB / 458.5 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002769/0.3791, allocations: 28.22 kB / 458.5 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006746/0.3858, allocations: 3.037 MB / 461.6 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3858, allocations: 0 / 461.6 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2122/0.598, allocations: 5.935 MB / 467.5 MB, free: 68.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.5983, allocations: 143 kB / 467.6 MB, free: 68.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.5985, allocations: 21.2 kB / 467.7 MB, free: 68.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.5999, allocations: 166.2 kB / 467.8 MB, free: 68.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/0.6002, allocations: 97.64 kB / 467.9 MB, free: 68.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/0.6003, allocations: 34.2 kB / 468 MB, free: 68.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005184/0.6008, allocations: 334.2 kB / 468.3 MB, free: 68.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6008, allocations: 1.312 kB / 468.3 MB, free: 68.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009307/0.6017, allocations: 254.6 kB / 468.5 MB, free: 68.06 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.02523/0.627, allocations: 6.529 MB / 475.1 MB, free: 66.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005849/0.6328, allocations: 1.956 MB / 477 MB, free: 65.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6328, allocations: 4.125 kB / 477 MB, free: 65.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00323/0.636, allocations: 1.013 MB / 478 MB, free: 64.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.6368, allocations: 127 kB / 478.2 MB, free: 64.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04921/0.686, allocations: 15.67 MB / 493.8 MB, free: 50.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.6863, allocations: 0.9441 MB / 494.8 MB, free: 49.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000351/0.6867, allocations: 58.02 kB / 494.8 MB, free: 49.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.687, allocations: 263.3 kB / 495.1 MB, free: 49.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.687, allocations: 0 / 495.1 MB, free: 49.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07075/0.7577, allocations: 29.52 MB / 0.5123 GB, free: 19.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/14.97, allocations: 11.95 kB / 0.5123 GB, free: 19.57 MB / 382.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0397062 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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: 18.09346581400314]