Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 43.92 kB / 371.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2427, allocations: 52.18 MB / 423.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006831/0.2495, allocations: 4.995 MB / 428.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.2522, allocations: 1.276 MB / 430.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.2525, allocations: 11.94 kB / 430.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.2529, allocations: 130.7 kB / 430.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.2534, allocations: 257.7 kB / 430.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.2541, allocations: 315.5 kB / 430.9 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.2552, allocations: 1.095 MB / 432 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.2555, allocations: 190.9 kB / 432.1 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.2561, allocations: 434.5 kB / 432.6 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005991/0.2567, allocations: 478 kB / 433 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.2568, allocations: 92 kB / 433.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.257, allocations: 116 kB / 433.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.2572, allocations: 199.3 kB / 433.4 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.2576, allocations: 449.8 kB / 433.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.2587, allocations: 1.044 MB / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2587, allocations: 0 / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2587, allocations: 0 / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.2587, allocations: 0 / 434.9 MB, free: 3.738 MB / 334.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.002575/0.2613, allocations: 1.213 MB / 436.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2613, allocations: 8.031 kB / 436.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.2615, allocations: 96.38 kB / 436.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.2622, allocations: 422.1 kB / 436.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.2623, allocations: 53.67 kB / 436.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.2624, allocations: 60.38 kB / 436.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2638, allocations: 0.6587 MB / 437.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.2638, allocations: 0 / 437.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.2639, allocations: 24 kB / 437.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.2639, allocations: 19.94 kB / 437.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.2656, allocations: 0.7 MB / 438.2 MB, free: 424 kB / 334.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.004184/0.2698, allocations: 2.323 MB / 440.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.2713, allocations: 0.5515 MB / 441 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.2721, allocations: 306 kB / 441.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.528e-05/0.2722, allocations: 8.438 kB / 441.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009868/0.2732, allocations: 432.7 kB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.865e-06/0.2732, allocations: 0 / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.08362/0.3568, allocations: 15.24 MB / 457 MB, free: 13.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.3569, allocations: 141.5 kB / 457.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007368/0.3576, allocations: 0.5186 MB / 457.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.3578, allocations: 45.7 kB / 457.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.3581, allocations: 404.6 kB / 458.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.3585, allocations: 325.2 kB / 458.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.3588, allocations: 182.6 kB / 458.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.359, allocations: 394.7 kB / 459 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.3611, allocations: 0.7205 MB / 459.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.3633, allocations: 0.9589 MB / 460.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/0.3675, allocations: 1.693 MB / 462.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.3675, allocations: 4 kB / 462.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02388/0.3914, allocations: 5.328 MB / 467.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.041e-05/0.3915, allocations: 62.69 kB / 467.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.3915, allocations: 8 kB / 467.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03694/0.4284, allocations: 6.849 MB / 474.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.4291, allocations: 147.7 kB / 474.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007319/0.4365, allocations: 3.172 MB / 477.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.4381, allocations: 179.9 kB / 478.1 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.4383, allocations: 51.97 kB / 478.1 MB, free: 7.82 MB / 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.0004338/0.4387, allocations: 225.6 kB / 478.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.4389, allocations: 87.47 kB / 478.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02365/0.4625, allocations: 5.064 MB / 483.5 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.4625, allocations: 11.94 kB / 483.5 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4625, allocations: 0 / 483.5 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.4625, allocations: 3.984 kB / 483.5 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.4641, allocations: 1.084 MB / 484.6 MB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4641, allocations: 0 / 484.6 MB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.4647, allocations: 87.89 kB / 484.7 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03556/0.5002, allocations: 6.801 MB / 491.5 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.5004, allocations: 19.98 kB / 491.5 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00607/0.5065, allocations: 3.048 MB / 494.6 MB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5065, allocations: 0 / 494.6 MB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02417/0.5306, allocations: 5.948 MB / 0.4888 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.5309, allocations: 79.38 kB / 0.4889 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.531, allocations: 20 kB / 0.4889 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.5324, allocations: 171.8 kB / 0.489 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/0.5327, allocations: 100.8 kB / 0.4891 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-05/0.5327, allocations: 35.97 kB / 0.4892 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004416/0.5332, allocations: 354.8 kB / 0.4895 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5332, allocations: 0 / 0.4895 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.534, allocations: 256 kB / 0.4898 GB, free: 280 kB / 398.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.0002956/0.5343, allocations: 127.4 kB / 0.4899 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007089/0.5414, allocations: 2.117 MB / 0.4919 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5414, allocations: 1.375 kB / 0.4919 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003599/0.545, allocations: 1.011 MB / 0.4929 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/0.5458, allocations: 134.2 kB / 0.4931 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.55, allocations: 1.816 MB / 0.4948 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.5506, allocations: 0.9507 MB / 0.4958 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.5508, allocations: 43.38 kB / 0.4958 GB, free: 9.98 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5508, allocations: 0 / 0.4958 GB, free: 9.98 MB / 414.1 MB Notification: Performance of Templates: time 0.02407/0.5749, allocations: 17.48 MB / 0.5129 GB, free: 8.52 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.628097851993516]