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.001332/0.001332, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001481/0.001481, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001622/0.001622, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3073, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006613/0.3139, allocations: 4.429 MB / 436 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.3173, allocations: 1.252 MB / 437.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007542/0.3181, allocations: 11.94 kB / 437.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.3187, allocations: 118.7 kB / 437.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.3198, allocations: 265.6 kB / 437.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3209, allocations: 319.4 kB / 438 MB, free: 320 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.3227, allocations: 1.099 MB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.3231, allocations: 185.5 kB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007471/0.3238, allocations: 438.5 kB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.3244, allocations: 474 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.3245, allocations: 92 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.3248, allocations: 116 kB / 440.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.325, allocations: 199.3 kB / 440.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.3254, allocations: 386.3 kB / 440.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.3266, allocations: 1.042 MB / 442 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3266, allocations: 0 / 442 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3266, allocations: 0 / 442 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.3266, allocations: 0 / 442 MB, free: 12.3 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.002623/0.3292, allocations: 1.208 MB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3293, allocations: 12.03 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.3294, allocations: 100.3 kB / 443.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000816/0.3303, allocations: 434.1 kB / 443.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.3303, allocations: 45.69 kB / 443.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.3304, allocations: 72.31 kB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.3319, allocations: 0.7803 MB / 444.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.3319, allocations: 0 / 444.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/0.332, allocations: 32 kB / 444.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.332, allocations: 19.94 kB / 444.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.3338, allocations: 0.6922 MB / 445.4 MB, free: 8.816 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.003816/0.3376, allocations: 1.788 MB / 447.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.3391, allocations: 0.5553 MB / 447.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.3399, allocations: 314 kB / 448 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.885e-05/0.3399, allocations: 4.438 kB / 448 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.341, allocations: 0.5449 MB / 448.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.395e-06/0.341, allocations: 0 / 448.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07139/0.4124, allocations: 15.25 MB / 463.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.4126, allocations: 149.5 kB / 463.9 MB, free: 5.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/0.4135, allocations: 0.5184 MB / 464.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002735/0.4137, allocations: 49.7 kB / 464.5 MB, free: 5.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.4142, allocations: 392.7 kB / 464.9 MB, free: 5.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005237/0.4147, allocations: 325.2 kB / 465.2 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005206/0.4152, allocations: 190.5 kB / 465.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.4155, allocations: 382.8 kB / 465.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.4178, allocations: 0.7785 MB / 466.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.4204, allocations: 1.096 MB / 467.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004404/0.4248, allocations: 1.693 MB / 469.3 MB, free: 328 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.4248, allocations: 3.938 kB / 469.3 MB, free: 324 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02359/0.4484, allocations: 5.409 MB / 474.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.679e-05/0.4485, allocations: 67.39 kB / 474.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.4485, allocations: 7.984 kB / 474.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03444/0.4829, allocations: 6.849 MB / 481.7 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/0.4837, allocations: 143.7 kB / 481.8 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/0.491, allocations: 3.161 MB / 485 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.4929, allocations: 180.1 kB / 485.2 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.493, allocations: 51.91 kB / 485.2 MB, free: 336 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.0005786/0.4936, allocations: 227.9 kB / 485.4 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.4939, allocations: 83.48 kB / 485.5 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02234/0.5162, allocations: 5.079 MB / 490.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.5162, allocations: 8 kB / 490.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5162, allocations: 4 kB / 490.6 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.5163, allocations: 3.984 kB / 490.6 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.5178, allocations: 0.7568 MB / 491.4 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5178, allocations: 0 / 491.4 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.5184, allocations: 99.81 kB / 491.5 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03428/0.5527, allocations: 6.789 MB / 498.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/0.5529, allocations: 19.98 kB / 498.3 MB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/0.5592, allocations: 3.049 MB / 0.4896 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5592, allocations: 0 / 0.4896 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02645/0.5856, allocations: 5.948 MB / 0.4954 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.5859, allocations: 71.5 kB / 0.4954 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.5861, allocations: 27.94 kB / 0.4955 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.5875, allocations: 167.8 kB / 0.4956 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/0.5879, allocations: 97.08 kB / 0.4957 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.588, allocations: 35.97 kB / 0.4958 GB, free: 9.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000619/0.5886, allocations: 346.8 kB / 0.4961 GB, free: 9.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5886, allocations: 4 kB / 0.4961 GB, free: 9.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001028/0.5896, allocations: 259.9 kB / 0.4963 GB, free: 9.125 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.0003474/0.59, allocations: 139.1 kB / 0.4965 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007249/0.5972, allocations: 2.157 MB / 0.4986 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5972, allocations: 4.062 kB / 0.4986 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.6009, allocations: 1.015 MB / 0.4996 GB, free: 5.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.6017, allocations: 125.5 kB / 0.4997 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.6067, allocations: 1.794 MB / 0.5014 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.6073, allocations: 365.6 kB / 0.5018 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.6077, allocations: 58.22 kB / 0.5019 GB, free: 3.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.6079, allocations: 35.44 kB / 0.5019 GB, free: 3.348 MB / 414.1 MB Notification: Performance of SimCode: time 1.163e-06/0.6079, allocations: 0 / 0.5019 GB, free: 3.348 MB / 414.1 MB Notification: Performance of Templates: time 0.03626/0.6441, allocations: 20.23 MB / 0.5216 GB, free: 15.24 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/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: 6.098899598233402]