Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001675, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 56.28 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1359, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.008023/0.144, allocations: 4.962 MB / 363.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.1484, allocations: 1.291 MB / 365.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006259/0.149, allocations: 15.94 kB / 365.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.1495, allocations: 118.7 kB / 365.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007207/0.1503, allocations: 257.6 kB / 365.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1513, allocations: 307.5 kB / 365.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.1529, allocations: 1.103 MB / 366.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.1535, allocations: 266.5 kB / 367.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.1542, allocations: 414.5 kB / 367.6 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.1548, allocations: 466.1 kB / 368.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.155, allocations: 88 kB / 368.1 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.1552, allocations: 115.9 kB / 368.3 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1554, allocations: 195.3 kB / 368.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.1558, allocations: 445.8 kB / 368.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.157, allocations: 1.012 MB / 369.9 MB, free: 2.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.157, allocations: 7.922 kB / 369.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.157, allocations: 0 / 369.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.157, allocations: 0 / 369.9 MB, free: 2.254 MB / 302.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.002823/0.1598, allocations: 1.254 MB / 371.2 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.1599, allocations: 8.031 kB / 371.2 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.1601, allocations: 99.8 kB / 371.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.1611, allocations: 491.4 kB / 371.7 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.1612, allocations: 49.69 kB / 371.8 MB, free: 260 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.1613, allocations: 64.38 kB / 371.9 MB, free: 196 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.272/0.4333, allocations: 0.6493 MB / 372.5 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.4334, allocations: 0 / 372.5 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.4336, allocations: 28.22 kB / 372.5 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.4336, allocations: 15 kB / 372.5 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.4362, allocations: 0.6968 MB / 373.2 MB, free: 20.07 MB / 302.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.005782/0.442, allocations: 2.364 MB / 375.6 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.4438, allocations: 0.5848 MB / 376.2 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008426/0.4446, allocations: 330.8 kB / 376.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/0.4447, allocations: 6.688 kB / 376.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.4459, allocations: 428.8 kB / 376.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.396e-06/0.4459, allocations: 0 / 376.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.06936/0.5153, allocations: 15.43 MB / 392.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.5154, allocations: 149.5 kB / 392.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.5161, allocations: 0.5147 MB / 393 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.5163, allocations: 41.7 kB / 393.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.5164, allocations: 383.8 kB / 393.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.5166, allocations: 322.5 kB / 393.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.517, allocations: 186.5 kB / 393.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.517, allocations: 390.7 kB / 394.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.5187, allocations: 0.7205 MB / 395 MB, free: 9.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.5204, allocations: 0.9629 MB / 396 MB, free: 8.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003249/0.5237, allocations: 1.693 MB / 397.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5237, allocations: 4 kB / 397.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02125/0.545, allocations: 5.362 MB / 403.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.044e-05/0.5451, allocations: 67.39 kB / 403.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.5451, allocations: 11.94 kB / 403.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0334/0.5785, allocations: 6.84 MB / 410 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.5795, allocations: 147.7 kB / 410.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007209/0.5867, allocations: 3.169 MB / 413.3 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.5885, allocations: 183.8 kB / 413.5 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.5886, allocations: 47.97 kB / 413.5 MB, free: 7.195 MB / 318.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.0005358/0.5892, allocations: 226.5 kB / 413.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.5893, allocations: 81.8 kB / 413.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02197/0.6113, allocations: 5.11 MB / 418.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/0.6114, allocations: 12 kB / 418.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.6114, allocations: 3.984 kB / 418.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.6114, allocations: 7.922 kB / 419 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.6132, allocations: 1.092 MB / 420 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6132, allocations: 0 / 420 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.6137, allocations: 101 kB / 420.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03385/0.6476, allocations: 6.789 MB / 426.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003066/0.648, allocations: 31.97 kB / 427 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005866/0.6538, allocations: 3.032 MB / 430 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6539, allocations: 10.94 kB / 430 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02482/0.6787, allocations: 5.987 MB / 436 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.679, allocations: 148.1 kB / 436.1 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.6792, allocations: 24.06 kB / 436.2 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.6807, allocations: 167.8 kB / 436.3 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.6809, allocations: 92.88 kB / 436.4 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/0.681, allocations: 35.97 kB / 436.5 MB, free: 112 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004461/0.6815, allocations: 360.6 kB / 436.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6815, allocations: 0 / 436.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007591/0.6823, allocations: 258.8 kB / 437.1 MB, free: 15.51 MB / 350.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.0002704/0.6826, allocations: 132.4 kB / 437.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007003/0.6896, allocations: 2.18 MB / 439.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.6896, allocations: 0 / 439.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003549/0.6932, allocations: 1.102 MB / 440.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/0.6941, allocations: 136.9 kB / 440.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.6982, allocations: 1.767 MB / 442.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.6987, allocations: 0.9468 MB / 443.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002632/0.699, allocations: 62.25 kB / 443.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.6991, allocations: 39.44 kB / 443.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of SimCode: time 1.764e-06/0.6991, allocations: 0 / 443.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Templates: time 0.03341/0.7326, allocations: 22.42 MB / 465.8 MB, free: 2.762 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches