Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.001441/0.001441, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.00161/0.00161, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 207.6 MB / 236 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 51.92 kB / 348.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 49.15 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.006021/0.3746, allocations: 4.74 MB / 402.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.3775, allocations: 1.288 MB / 403.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.3779, allocations: 14 kB / 403.7 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.3783, allocations: 114.9 kB / 403.8 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.3788, allocations: 252.6 kB / 404 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.3795, allocations: 302.4 kB / 404.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.3808, allocations: 1.052 MB / 405.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.3811, allocations: 187.9 kB / 405.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/0.3817, allocations: 425 kB / 406 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.3824, allocations: 462.5 kB / 406.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.3826, allocations: 89.28 kB / 406.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.3828, allocations: 113.1 kB / 406.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.383, allocations: 192.4 kB / 406.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004974/0.3835, allocations: 441.1 kB / 407.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.3852, allocations: 1 MB / 408.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.3852, allocations: 10 kB / 408.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3852, allocations: 0 / 408.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.3852, allocations: 0 / 408.2 MB, free: 2.855 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.00364/0.3889, allocations: 1.154 MB / 409.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.3889, allocations: 14.02 kB / 409.4 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.3892, allocations: 92.38 kB / 409.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3903, allocations: 411.7 kB / 409.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.3904, allocations: 43.23 kB / 409.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.3905, allocations: 65.62 kB / 410 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.3925, allocations: 0.6377 MB / 410.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.3926, allocations: 0 / 410.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.3926, allocations: 25.12 kB / 410.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.3927, allocations: 15.22 kB / 410.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.395, allocations: 0.6781 MB / 411.4 MB, free: 1.109 MB / 318.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.005397/0.4004, allocations: 2.258 MB / 413.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.4026, allocations: 0.5505 MB / 414.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.4037, allocations: 308.1 kB / 414.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-05/0.4038, allocations: 13.69 kB / 414.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/0.4053, allocations: 430.9 kB / 414.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 3.707e-06/0.4053, allocations: 0 / 414.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07746/0.4827, allocations: 15.24 MB / 430.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.4829, allocations: 141.5 kB / 430.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008173/0.4837, allocations: 498.9 kB / 430.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.484, allocations: 41.7 kB / 430.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.4844, allocations: 376.7 kB / 431.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.4848, allocations: 325.2 kB / 431.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/0.4852, allocations: 182.5 kB / 431.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.4854, allocations: 386.8 kB / 432.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/0.4876, allocations: 0.7163 MB / 432.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.4898, allocations: 0.9304 MB / 433.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004328/0.4942, allocations: 1.658 MB / 435.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.4942, allocations: 0 / 435.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02364/0.5178, allocations: 5.308 MB / 440.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/0.5179, allocations: 67.39 kB / 440.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.5179, allocations: 7.938 kB / 440.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0354/0.5533, allocations: 6.84 MB / 447.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.5541, allocations: 135.8 kB / 447.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007575/0.5617, allocations: 3.168 MB / 450.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.5636, allocations: 183.8 kB / 451.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.5638, allocations: 43.97 kB / 451.1 MB, free: 13.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0005837/0.5644, allocations: 225.6 kB / 451.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.5646, allocations: 75.53 kB / 451.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02313/0.5877, allocations: 5.06 MB / 456.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.5877, allocations: 11.98 kB / 456.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.5878, allocations: 4 kB / 456.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.135e-05/0.5878, allocations: 8.234 kB / 456.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.5897, allocations: 1.064 MB / 457.5 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.5897, allocations: 7.938 kB / 457.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.5903, allocations: 95.81 kB / 457.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03577/0.6261, allocations: 6.793 MB / 464.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003161/0.6264, allocations: 23.97 kB / 464.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0067/0.6331, allocations: 3.045 MB / 467.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6331, allocations: 4 kB / 467.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/0.6588, allocations: 5.94 MB / 473.5 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.6591, allocations: 67.62 kB / 473.5 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.6593, allocations: 19.98 kB / 473.5 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.6607, allocations: 171.7 kB / 473.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.661, allocations: 104.8 kB / 473.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.6611, allocations: 31.98 kB / 473.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004737/0.6615, allocations: 334.9 kB / 474.2 MB, free: 5.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6615, allocations: 4 kB / 474.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008659/0.6624, allocations: 252 kB / 474.4 MB, free: 5.715 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.0003087/0.6627, allocations: 132 kB / 474.5 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007176/0.6699, allocations: 2.086 MB / 476.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6699, allocations: 1.125 kB / 476.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003557/0.6734, allocations: 1.022 MB / 477.7 MB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/0.6743, allocations: 130.4 kB / 477.8 MB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.6787, allocations: 1.789 MB / 479.6 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/0.6793, allocations: 0.935 MB / 480.5 MB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.6795, allocations: 35.42 kB / 480.5 MB, free: 15.5 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6795, allocations: 4 kB / 480.5 MB, free: 15.49 MB / 398.1 MB Notification: Performance of Templates: time 0.02515/0.7047, allocations: 16.92 MB / 497.5 MB, free: 14.54 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingNPN_OrGate/HeatingNPN_OrGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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: 9.234560230048373]