Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_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.001256/0.001256, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001414/0.001414, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 8.027 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: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 47.91 kB / 379.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006644/0.2515, allocations: 5.005 MB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.2543, allocations: 1.295 MB / 438.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.2547, allocations: 15.94 kB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.255, allocations: 126.7 kB / 438.9 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004832/0.2555, allocations: 265.7 kB / 439.1 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.2563, allocations: 307.5 kB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.2575, allocations: 1.099 MB / 440.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.2579, allocations: 187 kB / 440.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005399/0.2584, allocations: 430.5 kB / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.2591, allocations: 482 kB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.2592, allocations: 92 kB / 441.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.2594, allocations: 116 kB / 441.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.2596, allocations: 199.3 kB / 442 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004642/0.2601, allocations: 457.8 kB / 442.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.2613, allocations: 1.04 MB / 443.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2613, allocations: 0 / 443.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2613, allocations: 0 / 443.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.2613, allocations: 0 / 443.5 MB, free: 11.81 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.002512/0.2638, allocations: 1.202 MB / 444.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2639, allocations: 12.03 kB / 444.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.264, allocations: 100.3 kB / 444.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.2648, allocations: 430.1 kB / 445.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.2648, allocations: 45.69 kB / 445.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2649, allocations: 68.33 kB / 445.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2663, allocations: 0.6587 MB / 446 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.2663, allocations: 0 / 446 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/0.2664, allocations: 28 kB / 446 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.2664, allocations: 16 kB / 446 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.2681, allocations: 0.6922 MB / 446.7 MB, free: 8.496 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.003935/0.272, allocations: 2.323 MB / 449 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.2734, allocations: 0.5398 MB / 449.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/0.2741, allocations: 321.9 kB / 449.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.2742, allocations: 4.438 kB / 449.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009419/0.2751, allocations: 433.3 kB / 450.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.874e-06/0.2751, allocations: 0 / 450.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06891/0.3441, allocations: 15.25 MB / 465.6 MB, free: 5.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.3442, allocations: 145.5 kB / 465.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.3449, allocations: 0.5186 MB / 466.2 MB, free: 4.691 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.345, allocations: 45.7 kB / 466.3 MB, free: 4.641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.3454, allocations: 392.7 kB / 466.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.3457, allocations: 329.2 kB / 467 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.346, allocations: 186.6 kB / 467.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.3463, allocations: 386.7 kB / 467.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.3483, allocations: 0.7244 MB / 468.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.3505, allocations: 0.9668 MB / 469.2 MB, free: 1.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/0.3547, allocations: 1.689 MB / 470.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3547, allocations: 4 kB / 470.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02405/0.3788, allocations: 5.343 MB / 476.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.03e-05/0.3789, allocations: 63.39 kB / 476.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.3789, allocations: 8 kB / 476.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03488/0.4138, allocations: 6.849 MB / 483.2 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/0.4145, allocations: 147.7 kB / 483.3 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006901/0.4214, allocations: 3.157 MB / 486.5 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.4229, allocations: 180.1 kB / 486.7 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.4231, allocations: 51.97 kB / 486.7 MB, free: 15.88 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.0004109/0.4235, allocations: 233.6 kB / 486.9 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.4236, allocations: 83.48 kB / 487 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02225/0.4459, allocations: 5.068 MB / 492.1 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.4459, allocations: 8 kB / 492.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4459, allocations: 3.984 kB / 492.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.4459, allocations: 3.984 kB / 492.1 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.4475, allocations: 1.08 MB / 493.2 MB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4475, allocations: 0 / 493.2 MB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.448, allocations: 91.88 kB / 493.3 MB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03366/0.4816, allocations: 6.789 MB / 0.4883 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/0.4818, allocations: 23.97 kB / 0.4884 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005828/0.4876, allocations: 3.049 MB / 0.4913 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4876, allocations: 4 kB / 0.4913 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0247/0.5123, allocations: 5.944 MB / 0.4971 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.5125, allocations: 79.39 kB / 0.4972 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.5127, allocations: 27.94 kB / 0.4972 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.514, allocations: 176 kB / 0.4974 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.5143, allocations: 96.83 kB / 0.4975 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.5144, allocations: 35.98 kB / 0.4975 GB, free: 8.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004239/0.5148, allocations: 354.8 kB / 0.4979 GB, free: 8.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5148, allocations: 0 / 0.4979 GB, free: 8.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.5155, allocations: 263.9 kB / 0.4981 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.0002289/0.5157, allocations: 123.1 kB / 0.4982 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006645/0.5224, allocations: 2.106 MB / 0.5003 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5224, allocations: 1.375 kB / 0.5003 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003322/0.5257, allocations: 1.011 MB / 0.5013 GB, free: 5.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.5265, allocations: 144.5 kB / 0.5014 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.5304, allocations: 1.82 MB / 0.5032 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.5309, allocations: 0.9507 MB / 0.5041 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.5311, allocations: 39.42 kB / 0.5042 GB, free: 2.043 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5311, allocations: 0 / 0.5042 GB, free: 2.043 MB / 414.1 MB Notification: Performance of Templates: time 0.02192/0.553, allocations: 17.48 MB / 0.5212 GB, free: 0.5938 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_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: 8.108822244917974]