Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001756/0.001756, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002418/0.002418, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 51.92 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.266, allocations: 53.36 MB / 431.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006082/0.2721, allocations: 4.997 MB / 436.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.2745, allocations: 1.291 MB / 437.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.2748, allocations: 15.94 kB / 437.5 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.2752, allocations: 130.7 kB / 437.6 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.2756, allocations: 257.7 kB / 437.8 MB, free: 108 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.2763, allocations: 315.4 kB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.2774, allocations: 1.095 MB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.2777, allocations: 187 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.2782, allocations: 438.5 kB / 439.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005907/0.2787, allocations: 474 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.2789, allocations: 92 kB / 440.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.2791, allocations: 120 kB / 440.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.2793, allocations: 195.3 kB / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.2797, allocations: 453.8 kB / 441.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.281, allocations: 1.035 MB / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.281, allocations: 0 / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.281, allocations: 0 / 442.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.281, allocations: 4 kB / 442.2 MB, free: 11.73 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.002655/0.2837, allocations: 1.213 MB / 443.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2837, allocations: 8.031 kB / 443.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.2838, allocations: 114.6 kB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.284, allocations: 96.33 kB / 443.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.2847, allocations: 418.2 kB / 444 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.2848, allocations: 49.69 kB / 444.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.2849, allocations: 76.25 kB / 444.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.2863, allocations: 0.6546 MB / 444.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.2863, allocations: 0 / 444.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.2864, allocations: 24 kB / 444.8 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2864, allocations: 19.94 kB / 444.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.288, allocations: 0.7 MB / 445.6 MB, free: 8.281 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.004019/0.292, allocations: 2.308 MB / 447.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.2934, allocations: 0.556 MB / 448.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007146/0.2942, allocations: 313.9 kB / 448.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/0.2942, allocations: 12.42 kB / 448.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009232/0.2951, allocations: 433.4 kB / 449.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.914e-06/0.2951, allocations: 0 / 449.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06834/0.3635, allocations: 15.23 MB / 464.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.3636, allocations: 145.5 kB / 464.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/0.3643, allocations: 0.5186 MB / 465 MB, free: 4.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.3644, allocations: 45.7 kB / 465.1 MB, free: 4.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.3647, allocations: 400.7 kB / 465.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.365, allocations: 333.2 kB / 465.8 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/0.3654, allocations: 182.6 kB / 466 MB, free: 3.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3656, allocations: 386.7 kB / 466.4 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.3676, allocations: 0.7205 MB / 467.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.3698, allocations: 0.9629 MB / 468 MB, free: 1.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004032/0.3738, allocations: 1.693 MB / 469.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3738, allocations: 7.938 kB / 469.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02331/0.3971, allocations: 5.323 MB / 475.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/0.3972, allocations: 71.52 kB / 475.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.3972, allocations: 8 kB / 475.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03398/0.4312, allocations: 6.837 MB / 482 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.4319, allocations: 143.7 kB / 482.1 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006341/0.4382, allocations: 3.025 MB / 485.2 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.4399, allocations: 179.9 kB / 485.3 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.44, allocations: 55.91 kB / 485.4 MB, free: 15.83 MB / 398.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.0004414/0.4404, allocations: 229.7 kB / 485.6 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4406, allocations: 83.48 kB / 485.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02219/0.4628, allocations: 5.056 MB / 490.7 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.4628, allocations: 12 kB / 490.8 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4628, allocations: 0 / 490.8 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.4628, allocations: 3.984 kB / 490.8 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.4644, allocations: 1.072 MB / 491.8 MB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4644, allocations: 4 kB / 491.8 MB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.4649, allocations: 99.81 kB / 491.9 MB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03438/0.4993, allocations: 6.773 MB / 498.7 MB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/0.4995, allocations: 27.97 kB / 498.7 MB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00604/0.5056, allocations: 3.037 MB / 0.49 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5056, allocations: 0.5 kB / 0.49 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02497/0.5306, allocations: 5.94 MB / 0.4958 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.5308, allocations: 83.33 kB / 0.4959 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.531, allocations: 16 kB / 0.4959 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.5323, allocations: 175.8 kB / 0.4961 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/0.5326, allocations: 100.8 kB / 0.4962 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/0.5327, allocations: 31.97 kB / 0.4962 GB, free: 8.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004711/0.5331, allocations: 362.8 kB / 0.4965 GB, free: 8.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5331, allocations: 0 / 0.4965 GB, free: 8.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007878/0.5339, allocations: 259.9 kB / 0.4968 GB, free: 8.324 MB / 414.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.02579/0.5597, allocations: 6.53 MB / 0.5032 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006039/0.5658, allocations: 1.961 MB / 0.5051 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5658, allocations: 1.375 kB / 0.5051 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.5692, allocations: 1.011 MB / 0.5061 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.57, allocations: 136.4 kB / 0.5062 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05432/0.6243, allocations: 15.9 MB / 0.5217 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.6249, allocations: 0.9468 MB / 0.5227 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.6252, allocations: 62.27 kB / 0.5227 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.6255, allocations: 275.3 kB / 0.523 GB, free: 13.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.143e-06/0.6255, allocations: 0 / 0.523 GB, free: 13.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2882/0.9137, allocations: 31.2 MB / 0.5534 GB, free: 100.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.94, allocations: 12.03 kB / 0.5535 GB, free: 100.1 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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.0396747 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.csv","/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_4.1.0_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.585495287999947]