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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 110.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009648/0.0009648, allocations: 47.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2282, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005339/0.2336, allocations: 4.946 MB / 406.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2355, allocations: 1.264 MB / 407.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.2358, allocations: 11.94 kB / 407.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.236, allocations: 126.7 kB / 407.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.2364, allocations: 265.5 kB / 408 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.237, allocations: 319.5 kB / 408.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.238, allocations: 1.099 MB / 409.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.2383, allocations: 258.5 kB / 409.7 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.2387, allocations: 422.6 kB / 410.1 MB, free: 132 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.2392, allocations: 466 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2394, allocations: 88 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.2396, allocations: 108 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.2397, allocations: 195.3 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.2401, allocations: 453.7 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008281/0.2409, allocations: 1.002 MB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.241, allocations: 4 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.241, allocations: 0 / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.241, allocations: 4 kB / 412.4 MB, free: 13.83 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.002342/0.2433, allocations: 1.254 MB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2434, allocations: 12.02 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2435, allocations: 91.91 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.2441, allocations: 491.5 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.2442, allocations: 49.69 kB / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.2443, allocations: 64.38 kB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.2457, allocations: 0.6509 MB / 415 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2457, allocations: 4 kB / 415 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.2458, allocations: 28 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.2458, allocations: 16 kB / 415.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.2474, allocations: 0.696 MB / 415.7 MB, free: 10.38 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.003567/0.251, allocations: 2.378 MB / 418.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.2525, allocations: 0.5935 MB / 418.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007342/0.2532, allocations: 330 kB / 419 MB, free: 6.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.2533, allocations: 8.422 kB / 419.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009183/0.2542, allocations: 431.4 kB / 419.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.385e-06/0.2542, allocations: 0 / 419.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06909/0.3233, allocations: 15.41 MB / 434.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.3234, allocations: 149.5 kB / 435 MB, free: 6.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.3241, allocations: 0.5224 MB / 435.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.3242, allocations: 41.7 kB / 435.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.3245, allocations: 391.8 kB / 436 MB, free: 5.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.3249, allocations: 311.5 kB / 436.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.3252, allocations: 194.4 kB / 436.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3254, allocations: 382.8 kB / 436.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.3275, allocations: 0.7205 MB / 437.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/0.3297, allocations: 0.9551 MB / 438.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004195/0.3339, allocations: 1.697 MB / 440.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.3339, allocations: 4 kB / 440.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02336/0.3573, allocations: 5.366 MB / 445.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.3574, allocations: 75.52 kB / 445.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.3574, allocations: 4 kB / 445.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03442/0.3919, allocations: 6.841 MB / 452.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.3927, allocations: 151.7 kB / 452.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00706/0.3998, allocations: 3.168 MB / 455.8 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.4014, allocations: 171.9 kB / 456 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4016, allocations: 47.97 kB / 456 MB, free: 1.438 MB / 366.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.0004467/0.402, allocations: 230.1 kB / 456.3 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.4023, allocations: 79.06 kB / 456.3 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/0.4243, allocations: 5.119 MB / 461.5 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/0.4243, allocations: 4.031 kB / 461.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4243, allocations: 3.984 kB / 461.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.4245, allocations: 144.2 kB / 461.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.4248, allocations: 20 kB / 461.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.4262, allocations: 171.7 kB / 461.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/0.4266, allocations: 144.8 kB / 461.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0134/0.44, allocations: 3.21 MB / 465.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006531/0.4465, allocations: 2.523 MB / 467.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001983/0.4485, allocations: 0.6557 MB / 468.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.449, allocations: 354.8 kB / 468.7 MB, free: 4.719 MB / 382.1 MB Notification: Performance of Backend: time 2.795e-06/0.449, allocations: 0 / 468.7 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005447/0.4544, allocations: 1.577 MB / 470.2 MB, free: 3.109 MB / 382.1 MB Notification: Performance of SimCode: time 0.00306/0.4575, allocations: 2.433 MB / 472.7 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of Templates: time 0.03305/0.4906, allocations: 21.66 MB / 494.3 MB, free: 11.04 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (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) 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) Reference file matches