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.001095/0.001095, allocations: 99.33 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 192.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.7 MB / 246.4 MB, free: 9.781 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000254/0.000254, allocations: 11.98 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005544/0.1231, allocations: 4.292 MB / 362.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.1263, allocations: 1.249 MB / 364.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008829/0.1272, allocations: 15.94 kB / 364.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.1277, allocations: 83.3 kB / 364.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.1284, allocations: 214.1 kB / 364.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008933/0.1293, allocations: 227.6 kB / 364.7 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1303, allocations: 0.978 MB / 365.7 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.1307, allocations: 211.6 kB / 365.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.1312, allocations: 350.7 kB / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.1317, allocations: 414.2 kB / 366.6 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.768e-05/0.1318, allocations: 51.94 kB / 366.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.132, allocations: 67.97 kB / 366.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1321, allocations: 151.3 kB / 366.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1323, allocations: 165.3 kB / 367.1 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006958/0.133, allocations: 0.7442 MB / 367.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.133, allocations: 0 / 367.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1331, allocations: 4 kB / 367.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1331, allocations: 0 / 367.8 MB, free: 4.195 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.002477/0.1356, allocations: 1.161 MB / 369 MB, free: 2.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1356, allocations: 8.031 kB / 369 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.1358, allocations: 98.88 kB / 369.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.1364, allocations: 462.6 kB / 369.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.1365, allocations: 45.31 kB / 369.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.1366, allocations: 64 kB / 369.6 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.1381, allocations: 0.6857 MB / 370.3 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1382, allocations: 0 / 370.3 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.1382, allocations: 24 kB / 370.3 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.1383, allocations: 16 kB / 370.3 MB, free: 1.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.1399, allocations: 0.7546 MB / 371.1 MB, free: 0.7773 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.2034/0.3433, allocations: 2.427 MB / 373.5 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.3449, allocations: 0.6354 MB / 374.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/0.3457, allocations: 363.9 kB / 374.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.734e-05/0.3458, allocations: 9.906 kB / 374.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.3468, allocations: 461.9 kB / 375 MB, free: 18.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.976e-06/0.3468, allocations: 0 / 375 MB, free: 18.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.06383/0.4106, allocations: 16.75 MB / 391.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.4107, allocations: 145.5 kB / 391.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.4113, allocations: 0.5147 MB / 392.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.4115, allocations: 45.7 kB / 392.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4117, allocations: 386.6 kB / 392.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.4119, allocations: 311.8 kB / 393.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.412, allocations: 20 kB / 393.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.4121, allocations: 392.5 kB / 393.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.4137, allocations: 0.7986 MB / 394.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.4154, allocations: 1.025 MB / 395.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.4171, allocations: 0.8807 MB / 396.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.4171, allocations: 4 kB / 396.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01913/0.4362, allocations: 5.649 MB / 401.9 MB, free: 2.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.4364, allocations: 59.41 kB / 401.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.4364, allocations: 8 kB / 401.9 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03115/0.4675, allocations: 7.323 MB / 409.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/0.4683, allocations: 175.8 kB / 409.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/0.4748, allocations: 3.214 MB / 412.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.4764, allocations: 231.6 kB / 412.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.4766, allocations: 47.97 kB / 412.9 MB, free: 7.133 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 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005475/0.4772, allocations: 225.8 kB / 413.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.4774, allocations: 79.06 kB / 413.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/0.4985, allocations: 5.468 MB / 418.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.4986, allocations: 9.859 kB / 418.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.4986, allocations: 0 / 418.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/0.4987, allocations: 10.78 kB / 418.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.501, allocations: 1.108 MB / 419.8 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.501, allocations: 0 / 419.8 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/0.5016, allocations: 127.8 kB / 419.9 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03197/0.5336, allocations: 7.287 MB / 427.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.5339, allocations: 27.97 kB / 427.3 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005906/0.5398, allocations: 3.076 MB / 430.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5398, allocations: 0 / 430.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02401/0.5638, allocations: 6.423 MB / 436.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.5642, allocations: 144.2 kB / 436.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.5645, allocations: 27.89 kB / 436.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.5659, allocations: 215.8 kB / 437.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.5663, allocations: 96.84 kB / 437.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.5664, allocations: 37.39 kB / 437.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005831/0.567, allocations: 350.8 kB / 437.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.567, allocations: 4 kB / 437.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009777/0.568, allocations: 256 kB / 437.9 MB, free: 14.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003085/0.5683, allocations: 130.7 kB / 438 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00671/0.575, allocations: 2.33 MB / 440.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.575, allocations: 0 / 440.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003277/0.5783, allocations: 1.15 MB / 441.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.5792, allocations: 131.1 kB / 441.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.5837, allocations: 2.105 MB / 443.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.5843, allocations: 0.9517 MB / 444.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003462/0.5846, allocations: 62.25 kB / 444.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.5848, allocations: 31.44 kB / 444.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5848, allocations: 8 kB / 444.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of Templates: time 0.03032/0.6151, allocations: 19.77 MB / 464.5 MB, free: 3.418 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/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