Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.002286/0.002286, allocations: 187 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 55.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08684, allocations: 46.61 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.1858/0.2727, allocations: 4.685 MB / 380.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.2752, allocations: 1.274 MB / 381.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.2755, allocations: 13.16 kB / 381.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.2758, allocations: 112.8 kB / 381.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.2762, allocations: 244.5 kB / 382.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.277, allocations: 306.7 kB / 382.5 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.2781, allocations: 1.053 MB / 383.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.2786, allocations: 261.9 kB / 383.8 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/0.2793, allocations: 407.7 kB / 384.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.2799, allocations: 461.4 kB / 384.6 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.28, allocations: 83.84 kB / 384.7 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.2803, allocations: 107 kB / 384.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.2805, allocations: 189.3 kB / 385 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.2808, allocations: 428.7 kB / 385.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.2819, allocations: 0.9767 MB / 386.4 MB, free: 8.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.282, allocations: 1.406 kB / 386.4 MB, free: 8.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.282, allocations: 0 / 386.4 MB, free: 8.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.282, allocations: 0 / 386.4 MB, free: 8.121 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002441/0.2844, allocations: 1.21 MB / 387.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2845, allocations: 8.625 kB / 387.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.2847, allocations: 89.64 kB / 387.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.2853, allocations: 478.4 kB / 388.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.2854, allocations: 47.34 kB / 388.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.2855, allocations: 62.64 kB / 388.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.2869, allocations: 0.6337 MB / 388.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.287, allocations: 5.812 kB / 388.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.287, allocations: 26.23 kB / 388.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.2871, allocations: 19.94 kB / 389 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.2889, allocations: 0.6743 MB / 389.6 MB, free: 6.379 MB / 318.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.003687/0.2926, allocations: 2.301 MB / 391.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.2941, allocations: 0.5893 MB / 392.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.2949, allocations: 331.6 kB / 392.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.824e-05/0.2949, allocations: 11.97 kB / 392.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009924/0.2959, allocations: 430.9 kB / 393.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.524e-06/0.296, allocations: 0 / 393.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=94): time 0.06809/0.3641, allocations: 15.41 MB / 408.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.3642, allocations: 145.5 kB / 408.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.3649, allocations: 498.8 kB / 409.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.3651, allocations: 49.7 kB / 409.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.3654, allocations: 366.6 kB / 409.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.3657, allocations: 313.6 kB / 410 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004154/0.3661, allocations: 182.5 kB / 410.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.3664, allocations: 378.8 kB / 410.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.3686, allocations: 0.7202 MB / 411.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.3708, allocations: 0.9226 MB / 412.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00418/0.375, allocations: 1.662 MB / 413.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.3751, allocations: 4.938 kB / 413.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02403/0.3991, allocations: 5.352 MB / 419.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.3993, allocations: 63.41 kB / 419.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.3993, allocations: 4 kB / 419.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03446/0.4338, allocations: 6.819 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.4346, allocations: 151.7 kB / 426.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.4411, allocations: 3.012 MB / 429.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.443, allocations: 173.7 kB / 429.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.4432, allocations: 43.97 kB / 429.5 MB, free: 8.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.000742/0.444, allocations: 225.6 kB / 429.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.4443, allocations: 82.94 kB / 429.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02193/0.4662, allocations: 5.093 MB / 434.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-05/0.4664, allocations: 7.984 kB / 434.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4664, allocations: 0 / 434.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.4668, allocations: 147 kB / 435 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/0.4674, allocations: 20 kB / 435.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.4691, allocations: 167.8 kB / 435.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005294/0.4696, allocations: 144.8 kB / 435.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01384/0.4835, allocations: 3.218 MB / 438.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006854/0.4904, allocations: 2.512 MB / 441.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002128/0.4925, allocations: 0.6518 MB / 441.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005258/0.4931, allocations: 342.9 kB / 442.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Backend: time 2.305e-06/0.4931, allocations: 0 / 442.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005133/0.4982, allocations: 1.434 MB / 443.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 0.003374/0.5016, allocations: 2.411 MB / 445.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of Templates: time 0.0407/0.5424, allocations: 22.73 MB / 468.7 MB, free: 1.242 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches