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.002151/0.002151, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002341/0.002341, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.591/1.591, allocations: 230.3 MB / 258 MB, free: 8.25 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.002158/0.002158, allocations: 63.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3444, allocations: 53.37 MB / 432.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.008/0.3524, allocations: 4.992 MB / 437.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.3556, allocations: 1.303 MB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.3563, allocations: 15.94 kB / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.3566, allocations: 122.7 kB / 438.6 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.3573, allocations: 261.6 kB / 438.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008781/0.3581, allocations: 307.5 kB / 439.1 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.3597, allocations: 1.095 MB / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.3601, allocations: 191 kB / 440.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/0.3607, allocations: 430.5 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.3614, allocations: 482 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.3615, allocations: 88 kB / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.3618, allocations: 123.9 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.362, allocations: 203.3 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005305/0.3625, allocations: 441.8 kB / 442.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.364, allocations: 1.048 MB / 443.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.364, allocations: 0 / 443.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.364, allocations: 4 kB / 443.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.364, allocations: 0 / 443.2 MB, free: 11.97 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.003148/0.3672, allocations: 1.209 MB / 444.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3672, allocations: 12.03 kB / 444.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.3674, allocations: 96.33 kB / 444.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/0.3682, allocations: 422.1 kB / 444.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.3683, allocations: 57.67 kB / 445 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3684, allocations: 64.33 kB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.37, allocations: 0.6548 MB / 445.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.37, allocations: 0 / 445.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.3701, allocations: 20 kB / 445.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.3701, allocations: 20 kB / 445.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.3721, allocations: 0.6961 MB / 446.4 MB, free: 8.652 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.00453/0.3766, allocations: 2.312 MB / 448.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.3783, allocations: 0.5554 MB / 449.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008628/0.3792, allocations: 306.6 kB / 449.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/0.3792, allocations: 16.42 kB / 449.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.3803, allocations: 437.3 kB / 450 MB, free: 4.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.284e-06/0.3803, allocations: 4 kB / 450 MB, free: 4.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07509/0.4554, allocations: 15.23 MB / 465.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.4556, allocations: 145.5 kB / 465.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.4563, allocations: 0.5186 MB / 465.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.4565, allocations: 49.69 kB / 466 MB, free: 4.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.4569, allocations: 392.7 kB / 466.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/0.4572, allocations: 333.2 kB / 466.7 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.4576, allocations: 182.6 kB / 466.9 MB, free: 3.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.4579, allocations: 386.7 kB / 467.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.4601, allocations: 0.7244 MB / 468 MB, free: 2.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.4625, allocations: 0.9668 MB / 468.9 MB, free: 1.734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004591/0.4671, allocations: 1.697 MB / 470.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4671, allocations: 0 / 470.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02423/0.4913, allocations: 5.327 MB / 476 MB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.4914, allocations: 69.75 kB / 476 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.4915, allocations: 4 kB / 476 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03475/0.5262, allocations: 6.836 MB / 482.9 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/0.527, allocations: 147.7 kB / 483 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006527/0.5335, allocations: 3.013 MB / 486 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.5353, allocations: 187.8 kB / 486.2 MB, free: 260 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.5354, allocations: 43.98 kB / 486.3 MB, free: 216 kB / 382.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.0004981/0.5359, allocations: 225.6 kB / 486.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.5361, allocations: 83.48 kB / 486.6 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02291/0.559, allocations: 5.064 MB / 491.6 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.559, allocations: 12 kB / 491.6 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.559, allocations: 3.938 kB / 491.6 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/0.5591, allocations: 7.984 kB / 491.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.5608, allocations: 1.072 MB / 492.7 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5608, allocations: 0 / 492.7 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.5613, allocations: 99.88 kB / 492.8 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03429/0.5956, allocations: 6.777 MB / 499.6 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/0.5959, allocations: 27.97 kB / 499.6 MB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006386/0.6023, allocations: 3.033 MB / 0.4909 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6023, allocations: 0 / 0.4909 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/0.6282, allocations: 5.944 MB / 0.4967 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.6284, allocations: 79.39 kB / 0.4968 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.6286, allocations: 16 kB / 0.4968 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.63, allocations: 171.8 kB / 0.4969 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/0.6304, allocations: 100.8 kB / 0.497 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.6305, allocations: 39.97 kB / 0.4971 GB, free: 9.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006214/0.6311, allocations: 354.8 kB / 0.4974 GB, free: 8.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6311, allocations: 0 / 0.4974 GB, free: 8.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008145/0.6319, allocations: 256 kB / 0.4976 GB, free: 8.699 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.0002903/0.6322, allocations: 135.1 kB / 0.4978 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00655/0.6388, allocations: 1.974 MB / 0.4997 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.6388, allocations: 0 / 0.4997 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/0.6428, allocations: 1.012 MB / 0.5007 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6439, allocations: 129.3 kB / 0.5008 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.6484, allocations: 1.811 MB / 0.5026 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.6491, allocations: 0.9468 MB / 0.5035 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.6495, allocations: 58.27 kB / 0.5036 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.6496, allocations: 35.42 kB / 0.5036 GB, free: 2.516 MB / 414.1 MB Notification: Performance of SimCode: time 2.324e-06/0.6496, allocations: 0 / 0.5036 GB, free: 2.516 MB / 414.1 MB Notification: Performance of Templates: time 0.04145/0.6911, allocations: 24.1 MB / 0.5271 GB, free: 10.51 MB / 446.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.439592865295708]