Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000819/0.000819, allocations: 93.33 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002388/0.0002386, allocations: 8 kB / 308.4 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.08959, allocations: 51.52 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004717/0.09434, allocations: 4.546 MB / 364.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.09686, allocations: 1.28 MB / 365.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004953/0.09738, allocations: 19.88 kB / 365.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.09773, allocations: 91.23 kB / 365.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007191/0.09846, allocations: 214.2 kB / 366.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.09919, allocations: 267.6 kB / 366.3 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.1004, allocations: 1.036 MB / 367.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.1008, allocations: 227.4 kB / 367.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.1014, allocations: 366.5 kB / 367.9 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006289/0.1021, allocations: 422 kB / 368.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.1022, allocations: 48 kB / 368.4 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.1025, allocations: 63.98 kB / 368.4 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1026, allocations: 151.3 kB / 368.6 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.1031, allocations: 423.5 kB / 369 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.1038, allocations: 0.7208 MB / 369.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1038, allocations: 0 / 369.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1038, allocations: 0 / 369.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.109e-05/0.1038, allocations: 0 / 369.7 MB, free: 3.414 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.002448/0.1063, allocations: 1.153 MB / 370.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1063, allocations: 15.97 kB / 370.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.1065, allocations: 91.81 kB / 371 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.1072, allocations: 479.6 kB / 371.5 MB, free: 1.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.1073, allocations: 49.69 kB / 371.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.1074, allocations: 68.28 kB / 371.6 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.1089, allocations: 0.6899 MB / 372.3 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1089, allocations: 7.984 kB / 372.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.109, allocations: 24 kB / 372.3 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.109, allocations: 16 kB / 372.3 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1752/0.2842, allocations: 0.7464 MB / 373.1 MB, free: 19.17 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.005014/0.2893, allocations: 2.422 MB / 375.5 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.291, allocations: 0.6441 MB / 376.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008611/0.2919, allocations: 368.4 kB / 376.5 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.443e-05/0.2919, allocations: 12.94 kB / 376.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.293, allocations: 459.3 kB / 376.9 MB, free: 18.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.045e-06/0.293, allocations: 0 / 376.9 MB, free: 18.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.06959/0.3626, allocations: 16.76 MB / 393.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3628, allocations: 141.5 kB / 393.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.3634, allocations: 0.5225 MB / 394.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.3636, allocations: 41.7 kB / 394.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3638, allocations: 389.8 kB / 394.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.3641, allocations: 312.3 kB / 395.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.3642, allocations: 81.67 kB / 395.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.3643, allocations: 390.8 kB / 395.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.3663, allocations: 0.7986 MB / 396.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.3682, allocations: 1.036 MB / 397.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/0.3721, allocations: 1.849 MB / 399.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3721, allocations: 4 kB / 399.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02207/0.3942, allocations: 5.742 MB / 405 MB, free: 108 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/0.3943, allocations: 63.41 kB / 405 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.3943, allocations: 8 kB / 405 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03543/0.4298, allocations: 7.327 MB / 412.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/0.4306, allocations: 175.8 kB / 412.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007326/0.438, allocations: 3.223 MB / 415.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.4398, allocations: 227.7 kB / 416 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.44, allocations: 43.98 kB / 416 MB, free: 4.977 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.0005724/0.4406, allocations: 239.3 kB / 416.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.4408, allocations: 79.06 kB / 416.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02393/0.4648, allocations: 5.477 MB / 421.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.4648, allocations: 8 kB / 421.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.4649, allocations: 4 kB / 421.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/0.4649, allocations: 3.984 kB / 421.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4667, allocations: 1.1 MB / 422.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.4667, allocations: 3.984 kB / 422.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/0.4673, allocations: 127.8 kB / 423.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03514/0.5024, allocations: 7.297 MB / 430.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/0.5027, allocations: 23.98 kB / 430.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005986/0.5087, allocations: 3.076 MB / 433.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5087, allocations: 0 / 433.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02558/0.5343, allocations: 6.437 MB / 439.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.5347, allocations: 136.2 kB / 440 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.535, allocations: 27.92 kB / 440.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.5366, allocations: 215.8 kB / 440.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002966/0.5369, allocations: 96.81 kB / 440.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.5371, allocations: 35.97 kB / 440.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004784/0.5375, allocations: 354.8 kB / 440.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5376, allocations: 0 / 440.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000853/0.5384, allocations: 258.6 kB / 441 MB, free: 11.87 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.0002867/0.5387, allocations: 132.9 kB / 441.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007132/0.5458, allocations: 2.333 MB / 443.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5459, allocations: 0 / 443.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.5494, allocations: 1.156 MB / 444.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.5503, allocations: 114.2 kB / 444.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.5542, allocations: 2.244 MB / 447 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.5548, allocations: 0.9479 MB / 447.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.5549, allocations: 39.44 kB / 448 MB, free: 4.82 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.555, allocations: 0 / 448 MB, free: 4.82 MB / 350.1 MB Notification: Performance of Templates: time 0.02204/0.577, allocations: 17.3 MB / 465.3 MB, free: 3.559 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches