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.00124/0.00124, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.006204/0.006204, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8433/0.8433, allocations: 173.4 MB / 201.2 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] 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 1.342e-06/1.342e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.449e-05, allocations: 6.219 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004519/0.004543, allocations: 4.393 MB / 324.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.005945, allocations: 1.244 MB / 325.3 MB, free: 176 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.006129, allocations: 15.94 kB / 325.4 MB, free: 160 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.006325, allocations: 126.7 kB / 325.5 MB, free: 32 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.0066, allocations: 285.5 kB / 325.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.007018, allocations: 311.4 kB / 326.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00061/0.007627, allocations: 1.13 MB / 327.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.007841, allocations: 182.9 kB / 327.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.008238, allocations: 0.612 MB / 328 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.008539, allocations: 359 kB / 328.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.986e-05/0.008629, allocations: 92 kB / 328.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.008746, allocations: 108 kB / 328.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.008841, allocations: 207.2 kB / 328.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.009049, allocations: 319.3 kB / 329 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.009765, allocations: 1.086 MB / 330.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.009767, allocations: 0 / 330.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009768, allocations: 4 kB / 330.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.009775, allocations: 0 / 330.1 MB, free: 11.34 MB / 298.7 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.001312/0.01109, allocations: 1.202 MB / 331.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.01112, allocations: 12.86 kB / 331.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.01122, allocations: 96.38 kB / 331.4 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.01174, allocations: 421.4 kB / 331.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.01177, allocations: 49.69 kB / 331.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.01184, allocations: 64.31 kB / 332 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/0.01263, allocations: 0.7806 MB / 332.8 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.01265, allocations: 192 / 332.8 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.01269, allocations: 24.38 kB / 332.8 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.01271, allocations: 19.94 kB / 332.8 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008956/0.0136, allocations: 0.6922 MB / 333.5 MB, free: 7.887 MB / 298.7 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.002212/0.01581, allocations: 1.824 MB / 335.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.0166, allocations: 0.5517 MB / 335.9 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.01698, allocations: 306.8 kB / 336.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.01701, allocations: 12.48 kB / 336.2 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005264/0.01754, allocations: 0.5497 MB / 336.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.353e-06/0.01754, allocations: 0 / 336.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.03098/0.04852, allocations: 15.24 MB / 352 MB, free: 5.207 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.04859, allocations: 149.5 kB / 352.1 MB, free: 5.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.04896, allocations: 0.5146 MB / 352.6 MB, free: 4.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/0.04903, allocations: 45.7 kB / 352.7 MB, free: 4.457 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.04921, allocations: 396.7 kB / 353.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.04939, allocations: 325.2 kB / 353.4 MB, free: 3.742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.04961, allocations: 186.6 kB / 353.6 MB, free: 3.555 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.04971, allocations: 382.8 kB / 353.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.05081, allocations: 0.7746 MB / 354.7 MB, free: 2.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.05198, allocations: 1.088 MB / 355.8 MB, free: 1.176 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.05438, allocations: 1.705 MB / 357.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.05438, allocations: 3.938 kB / 357.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01056/0.06494, allocations: 5.401 MB / 362.9 MB, free: 9.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.06498, allocations: 63.41 kB / 363 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.06499, allocations: 8 kB / 363 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01512/0.08011, allocations: 6.845 MB / 369.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.08047, allocations: 147.7 kB / 370 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/0.08428, allocations: 3.165 MB / 373.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.08502, allocations: 183.8 kB / 373.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.08508, allocations: 47.98 kB / 373.4 MB, free: 15.39 MB / 346.7 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.0002867/0.08537, allocations: 225.6 kB / 373.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.08545, allocations: 83.42 kB / 373.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.09567, allocations: 5.064 MB / 378.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.09567, allocations: 12 kB / 378.7 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.09568, allocations: 0 / 378.7 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.09569, allocations: 7.969 kB / 378.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.0964, allocations: 0.7618 MB / 379.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.0964, allocations: 0 / 379.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.09664, allocations: 103.8 kB / 379.6 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01464/0.1113, allocations: 6.785 MB / 386.4 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.122e-05/0.1114, allocations: 27.97 kB / 386.4 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003113/0.1145, allocations: 3.048 MB / 389.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1145, allocations: 3.938 kB / 389.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.1261, allocations: 5.945 MB / 395.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1262, allocations: 71.5 kB / 395.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/0.1263, allocations: 20 kB / 395.5 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.1269, allocations: 163.9 kB / 395.7 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.1271, allocations: 112.8 kB / 395.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.1271, allocations: 27.98 kB / 395.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.1274, allocations: 354.8 kB / 396.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1274, allocations: 0 / 396.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004959/0.1279, allocations: 259.9 kB / 396.4 MB, free: 8.184 MB / 362.7 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.0001949/0.1281, allocations: 127.2 kB / 396.5 MB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.1314, allocations: 2.167 MB / 398.7 MB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1314, allocations: 0 / 398.7 MB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.1331, allocations: 1.016 MB / 399.7 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1335, allocations: 126.2 kB / 399.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1359, allocations: 1.77 MB / 401.6 MB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.1361, allocations: 353.7 kB / 401.9 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1362, allocations: 48.42 kB / 402 MB, free: 2.488 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1362, allocations: 4 kB / 402 MB, free: 2.484 MB / 362.7 MB Notification: Performance of Templates: time 0.012/0.1482, allocations: 17.76 MB / 419.8 MB, free: 0.7344 MB / 378.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/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: 4.708182229660451]