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.0008119/0.0008119, allocations: 92.23 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009638/0.000964, allocations: 201.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 247.5 MB, free: 9.477 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002515, allocations: 8.281 kB / 308.4 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.096, allocations: 51.51 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004975/0.101, allocations: 4.561 MB / 364.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1036, allocations: 1.276 MB / 365.7 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000643/0.1043, allocations: 19.88 kB / 365.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.1047, allocations: 91.22 kB / 365.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008568/0.1055, allocations: 222.2 kB / 366.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.1064, allocations: 267.7 kB / 366.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.1077, allocations: 1.036 MB / 367.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.1081, allocations: 227.4 kB / 367.6 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.1087, allocations: 362.5 kB / 367.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.1093, allocations: 422 kB / 368.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.1095, allocations: 44 kB / 368.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.1097, allocations: 63.98 kB / 368.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.1099, allocations: 147.3 kB / 368.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.1104, allocations: 431.5 kB / 369 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000723/0.1111, allocations: 0.7208 MB / 369.7 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1112, allocations: 4 kB / 369.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1112, allocations: 0 / 369.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.178e-05/0.1112, allocations: 0 / 369.7 MB, free: 3.125 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.002425/0.1136, allocations: 1.153 MB / 370.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1137, allocations: 12.03 kB / 370.9 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.1139, allocations: 91.81 kB / 371 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.1146, allocations: 479.5 kB / 371.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.1147, allocations: 53.69 kB / 371.5 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.1148, allocations: 68.28 kB / 371.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.1163, allocations: 0.6861 MB / 372.3 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1163, allocations: 0 / 372.3 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.1164, allocations: 24 kB / 372.3 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1164, allocations: 16 kB / 372.3 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1642/0.2807, allocations: 0.7511 MB / 373.1 MB, free: 18.96 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.004672/0.2854, allocations: 2.428 MB / 375.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.2871, allocations: 0.641 MB / 376.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008348/0.288, allocations: 364.9 kB / 376.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.288, allocations: 12.64 kB / 376.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.2891, allocations: 459.5 kB / 377 MB, free: 17.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.604e-06/0.2891, allocations: 1.375 kB / 377 MB, free: 17.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.07095/0.3601, allocations: 16.76 MB / 393.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.3602, allocations: 141.5 kB / 393.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.3608, allocations: 0.5225 MB / 394.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.361, allocations: 45.7 kB / 394.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.3612, allocations: 383.4 kB / 394.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.3615, allocations: 314.2 kB / 395.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.3616, allocations: 85.67 kB / 395.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.3617, allocations: 390.7 kB / 395.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.3637, allocations: 0.7947 MB / 396.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.3657, allocations: 1.033 MB / 397.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/0.3695, allocations: 1.849 MB / 399.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.3696, allocations: 4 kB / 399.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0232/0.3928, allocations: 5.741 MB / 405 MB, free: 15.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/0.3929, allocations: 63.39 kB / 405 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.3929, allocations: 8.125 kB / 405.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03677/0.4297, allocations: 7.328 MB / 412.4 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/0.4306, allocations: 175.8 kB / 412.6 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/0.4379, allocations: 3.231 MB / 415.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.4398, allocations: 235.8 kB / 416 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.44, allocations: 47.97 kB / 416.1 MB, free: 4.672 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.0005591/0.4406, allocations: 222.1 kB / 416.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.4408, allocations: 79.06 kB / 416.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02421/0.465, allocations: 5.477 MB / 421.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.4651, allocations: 12 kB / 421.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4651, allocations: 6.953 kB / 421.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/0.4652, allocations: 3.984 kB / 421.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.4671, allocations: 1.101 MB / 423 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.4671, allocations: 0 / 423 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.4677, allocations: 119.8 kB / 423.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03658/0.5043, allocations: 7.288 MB / 430.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002529/0.5046, allocations: 27.97 kB / 430.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006163/0.5108, allocations: 3.091 MB / 433.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5108, allocations: 0 / 433.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02645/0.5373, allocations: 6.436 MB / 439.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.5376, allocations: 140.2 kB / 440.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/0.5379, allocations: 35.8 kB / 440.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.5396, allocations: 211.9 kB / 440.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.5399, allocations: 92.86 kB / 440.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.54, allocations: 35.97 kB / 440.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000452/0.5405, allocations: 354.8 kB / 440.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5405, allocations: 0 / 440.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009056/0.5414, allocations: 256 kB / 441 MB, free: 11.57 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.0003055/0.5417, allocations: 131.2 kB / 441.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007397/0.5491, allocations: 2.338 MB / 443.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.5492, allocations: 0 / 443.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003794/0.553, allocations: 1.161 MB / 444.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009234/0.5539, allocations: 118.2 kB / 444.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.5583, allocations: 2.233 MB / 447 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.5589, allocations: 0.944 MB / 447.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.5591, allocations: 43.42 kB / 448 MB, free: 4.527 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5591, allocations: 0 / 448 MB, free: 4.527 MB / 350.1 MB Notification: Performance of Templates: time 0.02288/0.582, allocations: 17.29 MB / 465.3 MB, free: 3.262 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 -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