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.00131/0.00131, allocations: 101.5 kB / 18.39 MB, free: 4.648 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.001272/0.001272, allocations: 187 kB / 19.33 MB, free: 3.727 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.281/1.281, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001175/0.001175, allocations: 55.92 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08718, allocations: 46.61 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.1756/0.2628, allocations: 4.682 MB / 380.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.2654, allocations: 1.277 MB / 381.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.2658, allocations: 11.88 kB / 381.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.2661, allocations: 113.5 kB / 381.9 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.2666, allocations: 247.1 kB / 382.2 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.2673, allocations: 303.8 kB / 382.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009639/0.2683, allocations: 1.057 MB / 383.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.2687, allocations: 258.6 kB / 383.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006377/0.2694, allocations: 408.6 kB / 384.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.2699, allocations: 460.1 kB / 384.6 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.2701, allocations: 84.91 kB / 384.7 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.2703, allocations: 105.3 kB / 384.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.2705, allocations: 187.7 kB / 385 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.2708, allocations: 429.8 kB / 385.4 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2719, allocations: 0.9775 MB / 386.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2719, allocations: 1.562 kB / 386.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2719, allocations: 0 / 386.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.2719, allocations: 0 / 386.4 MB, free: 8.145 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.002288/0.2742, allocations: 1.216 MB / 387.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2742, allocations: 9.406 kB / 387.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.2744, allocations: 88.31 kB / 387.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.2751, allocations: 473.1 kB / 388.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.2751, allocations: 44.08 kB / 388.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.2752, allocations: 60.36 kB / 388.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.2765, allocations: 0.6437 MB / 388.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2765, allocations: 1.125 kB / 388.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.2766, allocations: 26.17 kB / 388.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.2766, allocations: 14.34 kB / 388.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.2782, allocations: 0.6788 MB / 389.6 MB, free: 6.402 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.003499/0.2817, allocations: 2.307 MB / 391.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.2831, allocations: 0.5873 MB / 392.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/0.2837, allocations: 331 kB / 392.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.2838, allocations: 10.25 kB / 392.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008675/0.2847, allocations: 429.7 kB / 393.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.565e-06/0.2847, allocations: 0 / 393.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=94): time 0.06822/0.3529, allocations: 15.41 MB / 408.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/0.353, allocations: 145.5 kB / 408.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.3537, allocations: 494.8 kB / 409.3 MB, free: 13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.3539, allocations: 45.7 kB / 409.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.3542, allocations: 369.9 kB / 409.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.3546, allocations: 311.6 kB / 410 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.355, allocations: 174.5 kB / 410.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3552, allocations: 383.4 kB / 410.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.3571, allocations: 0.7202 MB / 411.3 MB, free: 11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.3592, allocations: 0.9303 MB / 412.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.363, allocations: 1.662 MB / 413.9 MB, free: 8.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.363, allocations: 4.875 kB / 413.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02299/0.386, allocations: 5.34 MB / 419.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.143e-05/0.3861, allocations: 67.52 kB / 419.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.3862, allocations: 11.94 kB / 419.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03409/0.4203, allocations: 6.821 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.421, allocations: 139.8 kB / 426.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/0.4268, allocations: 3.017 MB / 429.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.4285, allocations: 179.8 kB / 429.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.4287, allocations: 47.97 kB / 429.5 MB, free: 8.535 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.0004625/0.4292, allocations: 227.6 kB / 429.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.4294, allocations: 75.06 kB / 429.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02262/0.452, allocations: 5.102 MB / 434.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.4521, allocations: 8 kB / 434.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.4521, allocations: 0 / 434.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/0.4522, allocations: 4.859 kB / 434.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.4543, allocations: 1.09 MB / 436 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.4544, allocations: 7.938 kB / 436 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.455, allocations: 95.81 kB / 436.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03346/0.4885, allocations: 6.78 MB / 442.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002879/0.4888, allocations: 27.97 kB / 442.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/0.4945, allocations: 3.029 MB / 445.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4946, allocations: 3.938 kB / 445.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02432/0.5189, allocations: 5.992 MB / 451.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.5193, allocations: 144.2 kB / 452.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/0.5197, allocations: 16 kB / 452.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.5213, allocations: 175.8 kB / 452.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.5216, allocations: 96.81 kB / 452.3 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.5217, allocations: 35.97 kB / 452.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004255/0.5221, allocations: 330.9 kB / 452.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5221, allocations: 4 kB / 452.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009372/0.5231, allocations: 256 kB / 453 MB, free: 0.9141 MB / 366.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.000302/0.5234, allocations: 124.8 kB / 453.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005798/0.5292, allocations: 2.043 MB / 455.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5292, allocations: 320 / 455.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003329/0.5326, allocations: 1.085 MB / 456.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.5335, allocations: 135.4 kB / 456.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.5372, allocations: 1.782 MB / 458.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.5377, allocations: 0.935 MB / 459.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.5379, allocations: 35.44 kB / 459.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5379, allocations: 0 / 459.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of Templates: time 0.0212/0.5591, allocations: 16.99 MB / 476.1 MB, free: 9.688 MB / 398.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