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.001855/0.001855, allocations: 114 kB / 20.43 MB, free: 1.457 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.002365/0.002365, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 8.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2634, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007151/0.2706, allocations: 4.989 MB / 436.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.2735, allocations: 1.299 MB / 437.5 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008052/0.2743, allocations: 15.94 kB / 437.5 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.2747, allocations: 122.7 kB / 437.6 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.2753, allocations: 261.6 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008376/0.2762, allocations: 319.4 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2774, allocations: 1.088 MB / 439.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.2778, allocations: 191 kB / 439.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005299/0.2783, allocations: 430.5 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006021/0.2789, allocations: 478 kB / 440.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.279, allocations: 92 kB / 440.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.2792, allocations: 116 kB / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.2794, allocations: 203.3 kB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004261/0.2799, allocations: 453.8 kB / 441.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.281, allocations: 1.043 MB / 442.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.281, allocations: 0 / 442.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.281, allocations: 0 / 442.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.281, allocations: 0 / 442.2 MB, free: 11.6 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.002594/0.2836, allocations: 1.209 MB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2837, allocations: 8.031 kB / 443.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.2838, allocations: 102.7 kB / 443.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.2839, allocations: 100.3 kB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.2846, allocations: 430.1 kB / 444.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.2847, allocations: 53.62 kB / 444.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.2848, allocations: 68.31 kB / 444.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.2862, allocations: 0.6546 MB / 444.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.2862, allocations: 4 kB / 444.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.2862, allocations: 24 kB / 444.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.2863, allocations: 16 kB / 444.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.2879, allocations: 0.6999 MB / 445.6 MB, free: 8.152 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.004003/0.2919, allocations: 2.312 MB / 447.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.2933, allocations: 0.558 MB / 448.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.294, allocations: 314.6 kB / 448.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.2941, allocations: 4.438 kB / 448.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009541/0.295, allocations: 433.4 kB / 449.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.374e-06/0.295, allocations: 4 kB / 449.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06871/0.3637, allocations: 15.24 MB / 464.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.3639, allocations: 141.5 kB / 464.6 MB, free: 4.891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.3646, allocations: 0.5225 MB / 465.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.3648, allocations: 41.7 kB / 465.1 MB, free: 4.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.3651, allocations: 396.7 kB / 465.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.3655, allocations: 329.2 kB / 465.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.3658, allocations: 186.6 kB / 466 MB, free: 3.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.366, allocations: 386.7 kB / 466.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.3681, allocations: 0.7243 MB / 467.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.3702, allocations: 0.9637 MB / 468.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004014/0.3742, allocations: 1.689 MB / 469.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3742, allocations: 4 kB / 469.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02306/0.3973, allocations: 5.335 MB / 475.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.825e-05/0.3974, allocations: 71.39 kB / 475.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.3974, allocations: 4 kB / 475.2 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03432/0.4317, allocations: 6.828 MB / 482 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/0.4325, allocations: 155.7 kB / 482.2 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006028/0.4385, allocations: 3.013 MB / 485.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.4401, allocations: 179.8 kB / 485.4 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.4402, allocations: 47.92 kB / 485.4 MB, free: 15.71 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.0004135/0.4406, allocations: 233.7 kB / 485.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.4407, allocations: 87.48 kB / 485.7 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02239/0.4631, allocations: 5.056 MB / 490.8 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.4631, allocations: 15.94 kB / 490.8 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.4632, allocations: 4 kB / 490.8 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.4632, allocations: 4.234 kB / 490.8 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.4647, allocations: 1.072 MB / 491.9 MB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4648, allocations: 4 kB / 491.9 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.4653, allocations: 91.88 kB / 492 MB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03345/0.4987, allocations: 6.785 MB / 498.8 MB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/0.4989, allocations: 27.97 kB / 498.8 MB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005842/0.5048, allocations: 3.025 MB / 0.4901 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5048, allocations: 4 kB / 0.4901 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02381/0.5286, allocations: 5.948 MB / 0.4959 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.5288, allocations: 79.39 kB / 0.4959 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.529, allocations: 16 kB / 0.496 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.5302, allocations: 175.8 kB / 0.4961 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.5305, allocations: 96.83 kB / 0.4962 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.5306, allocations: 31.97 kB / 0.4962 GB, free: 8.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004236/0.531, allocations: 354.8 kB / 0.4966 GB, free: 8.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.531, allocations: 0 / 0.4966 GB, free: 8.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007285/0.5317, allocations: 259.9 kB / 0.4968 GB, free: 8.203 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.02485/0.5566, allocations: 6.535 MB / 0.5032 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005871/0.5625, allocations: 1.966 MB / 0.5051 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5625, allocations: 0 / 0.5051 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/0.5658, allocations: 1.019 MB / 0.5061 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.5666, allocations: 128.6 kB / 0.5063 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05376/0.6203, allocations: 15.9 MB / 0.5218 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.6209, allocations: 0.9468 MB / 0.5227 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.6212, allocations: 58.27 kB / 0.5228 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.6215, allocations: 275.3 kB / 0.523 GB, free: 12.97 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6215, allocations: 4 kB / 0.523 GB, free: 12.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.262/0.8836, allocations: 31.2 MB / 0.5535 GB, free: 100.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.94, allocations: 8.562 kB / 0.5535 GB, free: 100.3 MB / 446.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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.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_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.6012829350002]