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.001785/0.001785, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002229/0.002229, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.686/1.686, allocations: 230.2 MB / 254.5 MB, free: 15.27 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: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 63.91 kB / 373.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1382, allocations: 53.32 MB / 427.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00766/0.1458, allocations: 4.978 MB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.1493, allocations: 1.295 MB / 433.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008014/0.1501, allocations: 11.94 kB / 433.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.1507, allocations: 122.7 kB / 433.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009678/0.1517, allocations: 265.6 kB / 433.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009575/0.1526, allocations: 307.5 kB / 434.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1542, allocations: 1.099 MB / 435.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003685/0.1546, allocations: 190.5 kB / 435.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.1552, allocations: 418.5 kB / 435.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006764/0.1559, allocations: 482 kB / 436.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.156, allocations: 88 kB / 436.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.1563, allocations: 120 kB / 436.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1565, allocations: 203.3 kB / 436.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.157, allocations: 445.8 kB / 437.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1583, allocations: 1.039 MB / 438.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1583, allocations: 0 / 438.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1583, allocations: 7.938 kB / 438.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1583, allocations: 0 / 438.2 MB, free: 9.383 MB / 366.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.003089/0.1614, allocations: 1.281 MB / 439.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1614, allocations: 12.03 kB / 439.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.1616, allocations: 96.33 kB / 439.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.1625, allocations: 488 kB / 440 MB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.1625, allocations: 57.62 kB / 440.1 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.1627, allocations: 64.33 kB / 440.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.1642, allocations: 0.6587 MB / 440.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1642, allocations: 0 / 440.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.1644, allocations: 24 kB / 440.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.1644, allocations: 16 kB / 440.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.1662, allocations: 0.6961 MB / 441.6 MB, free: 5.895 MB / 366.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.004268/0.1705, allocations: 2.383 MB / 443.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.172, allocations: 0.5593 MB / 444.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.1728, allocations: 306 kB / 444.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.608e-05/0.1729, allocations: 12.44 kB / 444.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.1739, allocations: 425.4 kB / 445.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 2.515e-06/0.1739, allocations: 4 kB / 445.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.2909/0.4648, allocations: 15.38 MB / 460.6 MB, free: 23.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.4649, allocations: 149 kB / 460.8 MB, free: 23.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/0.4656, allocations: 0.5171 MB / 461.3 MB, free: 22.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.4658, allocations: 48.58 kB / 461.3 MB, free: 22.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.466, allocations: 390.2 kB / 461.7 MB, free: 22.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.4663, allocations: 332.5 kB / 462 MB, free: 22.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.4666, allocations: 183.9 kB / 462.2 MB, free: 22.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.4667, allocations: 389.6 kB / 462.6 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.4687, allocations: 0.7229 MB / 463.3 MB, free: 21.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.4707, allocations: 0.9589 MB / 464.3 MB, free: 20.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/0.4746, allocations: 1.688 MB / 466 MB, free: 19.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.4746, allocations: 2.969 kB / 466 MB, free: 19.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02213/0.4967, allocations: 5.34 MB / 471.3 MB, free: 17.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/0.4968, allocations: 64.55 kB / 471.4 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.4968, allocations: 6.219 kB / 471.4 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03051/0.5273, allocations: 6.823 MB / 478.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.528, allocations: 151.7 kB / 478.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005136/0.5331, allocations: 3.019 MB / 481.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.5348, allocations: 171.9 kB / 481.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.5349, allocations: 51.97 kB / 481.6 MB, free: 9.812 MB / 366.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.0004573/0.5354, allocations: 221.7 kB / 481.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5356, allocations: 87.42 kB / 481.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01942/0.555, allocations: 5.062 MB / 486.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.555, allocations: 14.53 kB / 487 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.555, allocations: 4.688 kB / 487 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.555, allocations: 7.969 kB / 487 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.5564, allocations: 1.1 MB / 488.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5564, allocations: 0 / 488.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.5569, allocations: 104.4 kB / 488.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0322/0.5891, allocations: 6.783 MB / 495 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003017/0.5894, allocations: 27.98 kB / 495 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006697/0.5961, allocations: 3.026 MB / 498 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5961, allocations: 0 / 498 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02498/0.6211, allocations: 5.939 MB / 0.4921 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.6214, allocations: 152.6 kB / 0.4923 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.6216, allocations: 16 kB / 0.4923 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.6229, allocations: 171.8 kB / 0.4925 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.6232, allocations: 100.8 kB / 0.4926 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.886e-05/0.6233, allocations: 35.97 kB / 0.4926 GB, free: 2.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000467/0.6238, allocations: 354.8 kB / 0.4929 GB, free: 2.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6238, allocations: 0 / 0.4929 GB, free: 2.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008569/0.6246, allocations: 262.8 kB / 0.4932 GB, free: 2.242 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.0003295/0.625, allocations: 138.1 kB / 0.4933 GB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006256/0.6312, allocations: 1.974 MB / 0.4952 GB, free: 120 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6312, allocations: 0 / 0.4952 GB, free: 120 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003527/0.6348, allocations: 1.012 MB / 0.4962 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.6356, allocations: 132.5 kB / 0.4964 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.6396, allocations: 1.817 MB / 0.4981 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/0.6402, allocations: 0.9468 MB / 0.4991 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000258/0.6405, allocations: 58.55 kB / 0.4991 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.6406, allocations: 35.44 kB / 0.4991 GB, free: 12.11 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6406, allocations: 0 / 0.4991 GB, free: 12.11 MB / 398.1 MB Notification: Performance of Templates: time 0.04128/0.6819, allocations: 23.01 MB / 0.5216 GB, free: 5.242 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/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: 6.160981544293463]