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.001928/0.001928, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002154/0.002154, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001572/0.001572, allocations: 55.91 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2296, allocations: 53.37 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006102/0.2357, allocations: 4.425 MB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.2381, allocations: 1.252 MB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.2384, allocations: 15.94 kB / 438.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.2387, allocations: 118.7 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005126/0.2392, allocations: 269.6 kB / 438.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.2399, allocations: 315.5 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.241, allocations: 1.095 MB / 439.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.2413, allocations: 194 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.2418, allocations: 430.5 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.2424, allocations: 474.1 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.2425, allocations: 92 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.2427, allocations: 116 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.2429, allocations: 207.3 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.2433, allocations: 378.3 kB / 441.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.2444, allocations: 1.042 MB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2444, allocations: 0 / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2444, allocations: 0 / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.2444, allocations: 0 / 442.7 MB, free: 12.27 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.002749/0.2472, allocations: 1.209 MB / 443.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2472, allocations: 8.031 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.2474, allocations: 100.3 kB / 444 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/0.2482, allocations: 430.1 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-05/0.2482, allocations: 53.67 kB / 444.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.2483, allocations: 64.33 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.25, allocations: 0.7764 MB / 445.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.25, allocations: 7.922 kB / 445.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.2501, allocations: 28 kB / 445.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.2501, allocations: 16 kB / 445.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.2519, allocations: 0.6883 MB / 446.1 MB, free: 8.789 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.003911/0.2558, allocations: 1.796 MB / 447.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.2573, allocations: 0.5592 MB / 448.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007613/0.258, allocations: 317.9 kB / 448.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.2581, allocations: 8.438 kB / 448.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.2591, allocations: 0.5332 MB / 449.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.525e-06/0.2591, allocations: 4 kB / 449.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07773/0.3369, allocations: 15.26 MB / 464.6 MB, free: 6.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.337, allocations: 145.5 kB / 464.7 MB, free: 5.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.3377, allocations: 0.5223 MB / 465.2 MB, free: 5.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.3378, allocations: 49.64 kB / 465.3 MB, free: 5.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.3381, allocations: 400.6 kB / 465.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/0.3385, allocations: 329.2 kB / 466 MB, free: 4.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/0.3389, allocations: 186.5 kB / 466.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3391, allocations: 386.8 kB / 466.6 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/0.3413, allocations: 0.7746 MB / 467.3 MB, free: 3.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.3438, allocations: 1.096 MB / 468.4 MB, free: 2.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00433/0.3481, allocations: 1.689 MB / 470.1 MB, free: 280 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.3481, allocations: 4 kB / 470.1 MB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02631/0.3744, allocations: 5.405 MB / 475.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.3745, allocations: 67.39 kB / 475.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3745, allocations: 8 kB / 475.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03897/0.4135, allocations: 6.837 MB / 482.4 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.4142, allocations: 151.7 kB / 482.6 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/0.4216, allocations: 3.161 MB / 485.7 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.4233, allocations: 183.8 kB / 485.9 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.4234, allocations: 47.97 kB / 486 MB, free: 296 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.0004173/0.4238, allocations: 223.9 kB / 486.2 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.424, allocations: 87.61 kB / 486.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02483/0.4489, allocations: 5.075 MB / 491.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.4489, allocations: 7.984 kB / 491.4 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4489, allocations: 0 / 491.4 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.449, allocations: 71.47 kB / 491.4 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.4492, allocations: 20 kB / 491.4 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.4507, allocations: 171.8 kB / 491.6 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.4511, allocations: 148.6 kB / 491.8 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01458/0.4656, allocations: 3.203 MB / 495 MB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006866/0.4725, allocations: 2.528 MB / 497.5 MB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002007/0.4745, allocations: 0.644 MB / 498.1 MB, free: 4.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004883/0.475, allocations: 350.8 kB / 498.5 MB, free: 3.723 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.475, allocations: 0 / 498.5 MB, free: 3.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005944/0.4809, allocations: 1.558 MB / 0.4883 GB, free: 2.125 MB / 398.1 MB Notification: Performance of SimCode: time 0.003294/0.4842, allocations: 2.477 MB / 0.4907 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Templates: time 0.03388/0.5181, allocations: 22.34 MB / 0.5125 GB, free: 9.375 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: 5.321691697994538]