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.001562/0.001562, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 204.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2315, allocations: 50.54 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005528/0.2371, allocations: 4.969 MB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.2397, allocations: 1.28 MB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.2403, allocations: 11.94 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.2407, allocations: 130.7 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.2413, allocations: 253.6 kB / 416.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.242, allocations: 315.4 kB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.2432, allocations: 1.095 MB / 418 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.2436, allocations: 262.5 kB / 418.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.2441, allocations: 418.5 kB / 418.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.2447, allocations: 474 kB / 419.1 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.2448, allocations: 88 kB / 419.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.245, allocations: 108 kB / 419.3 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2452, allocations: 195.3 kB / 419.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.2456, allocations: 449.8 kB / 419.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009434/0.2466, allocations: 1.005 MB / 420.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2466, allocations: 4 kB / 420.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2466, allocations: 0 / 420.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.2466, allocations: 0 / 420.9 MB, free: 6.48 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.002494/0.2491, allocations: 1.266 MB / 422.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2491, allocations: 8.031 kB / 422.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.2493, allocations: 91.91 kB / 422.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.25, allocations: 487.5 kB / 422.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.25, allocations: 45.69 kB / 422.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.2501, allocations: 64.38 kB / 422.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.2516, allocations: 0.6548 MB / 423.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.2516, allocations: 3.984 kB / 423.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.2517, allocations: 28 kB / 423.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.2517, allocations: 12 kB / 423.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.2534, allocations: 0.6922 MB / 424.3 MB, free: 3.027 MB / 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.003738/0.2571, allocations: 2.378 MB / 426.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.2586, allocations: 0.5827 MB / 427.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000732/0.2593, allocations: 337.8 kB / 427.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.2594, allocations: 8.438 kB / 427.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009161/0.2603, allocations: 421.5 kB / 428 MB, free: 15.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.235e-06/0.2603, allocations: 0 / 428 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.08987/0.3502, allocations: 15.43 MB / 443.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.3503, allocations: 145.5 kB / 443.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009736/0.3513, allocations: 0.5185 MB / 444.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.3516, allocations: 41.7 kB / 444.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.352, allocations: 387.8 kB / 444.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005121/0.3526, allocations: 319.4 kB / 444.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006197/0.3532, allocations: 182.5 kB / 445 MB, free: 13.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.3534, allocations: 386.7 kB / 445.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/0.3567, allocations: 0.7244 MB / 446.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.3599, allocations: 0.9668 MB / 447.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/0.3646, allocations: 1.697 MB / 448.8 MB, free: 10 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.3647, allocations: 4 kB / 448.8 MB, free: 10 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02272/0.3874, allocations: 5.378 MB / 454.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.3875, allocations: 71.39 kB / 454.2 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.3875, allocations: 7.984 kB / 454.2 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03317/0.4207, allocations: 6.84 MB / 461.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.4214, allocations: 147.7 kB / 461.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/0.4281, allocations: 3.161 MB / 464.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.4298, allocations: 171.9 kB / 464.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.4299, allocations: 51.97 kB / 464.6 MB, free: 10.07 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.0004389/0.4304, allocations: 229.6 kB / 464.8 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4305, allocations: 82.97 kB / 464.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02156/0.4521, allocations: 5.111 MB / 470 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.4522, allocations: 8 kB / 470 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4522, allocations: 0 / 470 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.4522, allocations: 7.969 kB / 470 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.4537, allocations: 1.108 MB / 471.1 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.4537, allocations: 4 kB / 471.1 MB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/0.4543, allocations: 91.88 kB / 471.2 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03265/0.4869, allocations: 6.786 MB / 478 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/0.4872, allocations: 31.91 kB / 478 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00565/0.4928, allocations: 3.04 MB / 481.1 MB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4929, allocations: 4 kB / 481.1 MB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0237/0.5166, allocations: 5.979 MB / 487.1 MB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.5168, allocations: 148.1 kB / 487.2 MB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.517, allocations: 24 kB / 487.2 MB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.5185, allocations: 171.8 kB / 487.4 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.5188, allocations: 92.88 kB / 487.5 MB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.5189, allocations: 31.98 kB / 487.5 MB, free: 2.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004048/0.5193, allocations: 350.8 kB / 487.9 MB, free: 2.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5193, allocations: 3.938 kB / 487.9 MB, free: 2.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007742/0.5201, allocations: 268 kB / 488.1 MB, free: 2.324 MB / 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.0002658/0.5204, allocations: 135.4 kB / 488.3 MB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00683/0.5272, allocations: 2.185 MB / 490.4 MB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5272, allocations: 3.938 kB / 490.4 MB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003567/0.5308, allocations: 1.093 MB / 491.5 MB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/0.5317, allocations: 125.4 kB / 491.7 MB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.5357, allocations: 1.807 MB / 493.5 MB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.5362, allocations: 0.9545 MB / 494.4 MB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.5364, allocations: 43.42 kB / 494.5 MB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5364, allocations: 3.938 kB / 494.5 MB, free: 11.89 MB / 414.1 MB Notification: Performance of Templates: time 0.02199/0.5584, allocations: 17.45 MB / 0.4999 GB, free: 10.46 MB / 430.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