Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_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.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002208/0.002208, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 69.3 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1208, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.005972/0.1268, allocations: 4.962 MB / 363.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.1293, allocations: 1.291 MB / 365.2 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.1296, allocations: 15.94 kB / 365.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.1299, allocations: 118.7 kB / 365.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.1304, allocations: 253.6 kB / 365.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.1311, allocations: 319.4 kB / 365.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.1322, allocations: 1.095 MB / 366.9 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.1326, allocations: 266.5 kB / 367.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.133, allocations: 414.6 kB / 367.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.1337, allocations: 462 kB / 368.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.1339, allocations: 88 kB / 368.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.134, allocations: 112 kB / 368.3 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1342, allocations: 195.3 kB / 368.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.1347, allocations: 453.8 kB / 368.9 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.1357, allocations: 1.012 MB / 369.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1357, allocations: 4 kB / 369.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1357, allocations: 0 / 369.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1357, allocations: 0 / 369.9 MB, free: 2.281 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.002394/0.1381, allocations: 1.254 MB / 371.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1382, allocations: 8.031 kB / 371.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.1383, allocations: 95.81 kB / 371.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.139, allocations: 495.4 kB / 371.7 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.1391, allocations: 45.69 kB / 371.8 MB, free: 292 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.1392, allocations: 68.36 kB / 371.9 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2165/0.3557, allocations: 0.6491 MB / 372.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.3558, allocations: 0.5625 kB / 372.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.3559, allocations: 27 kB / 372.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.3559, allocations: 14.94 kB / 372.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.3576, allocations: 0.6961 MB / 373.2 MB, free: 20.09 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.004169/0.3618, allocations: 2.362 MB / 375.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.3633, allocations: 0.5881 MB / 376.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/0.364, allocations: 332.1 kB / 376.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.008e-05/0.3641, allocations: 8.344 kB / 376.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009003/0.365, allocations: 426.4 kB / 376.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.104e-06/0.365, allocations: 0 / 376.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.06916/0.4342, allocations: 15.43 MB / 392.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.4343, allocations: 146.2 kB / 392.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000587/0.4349, allocations: 0.5236 MB / 393 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.4351, allocations: 41.7 kB / 393.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.4354, allocations: 387.6 kB / 393.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.4356, allocations: 318.7 kB / 393.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/0.436, allocations: 182.5 kB / 393.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.4361, allocations: 393 kB / 394.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.4378, allocations: 0.7205 MB / 395 MB, free: 9.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.4396, allocations: 0.959 MB / 396 MB, free: 8.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/0.4429, allocations: 1.696 MB / 397.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.443, allocations: 4 kB / 397.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02077/0.4637, allocations: 5.37 MB / 403.1 MB, free: 1.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.4638, allocations: 63.41 kB / 403.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4639, allocations: 11.94 kB / 403.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03262/0.4965, allocations: 6.844 MB / 410 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.4972, allocations: 151.7 kB / 410.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/0.5039, allocations: 3.16 MB / 413.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.5055, allocations: 184.6 kB / 413.5 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.5057, allocations: 47.97 kB / 413.5 MB, free: 7.234 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.0004988/0.5062, allocations: 229.7 kB / 413.8 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.5064, allocations: 79.06 kB / 413.8 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02191/0.5284, allocations: 5.116 MB / 418.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.5284, allocations: 14.52 kB / 419 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.5284, allocations: 0 / 419 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/0.5285, allocations: 7.922 kB / 419 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.53, allocations: 1.088 MB / 420.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.53, allocations: 0 / 420.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.5306, allocations: 95.88 kB / 420.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03305/0.5636, allocations: 6.793 MB / 426.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/0.5639, allocations: 23.98 kB / 427 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005636/0.5695, allocations: 3.037 MB / 430 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5696, allocations: 2.531 kB / 430 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02353/0.5931, allocations: 5.992 MB / 436 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.5934, allocations: 148.1 kB / 436.1 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.5936, allocations: 19.94 kB / 436.2 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.5951, allocations: 176.3 kB / 436.3 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.5953, allocations: 96.88 kB / 436.4 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.569e-05/0.5954, allocations: 27.97 kB / 436.5 MB, free: 160 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004124/0.5959, allocations: 358.8 kB / 436.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5959, allocations: 0 / 436.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007615/0.5966, allocations: 258.8 kB / 437.1 MB, free: 15.55 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.0002597/0.5969, allocations: 138.8 kB / 437.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006554/0.6035, allocations: 2.182 MB / 439.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6035, allocations: 1.375 kB / 439.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003299/0.6068, allocations: 1.1 MB / 440.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.6075, allocations: 134 kB / 440.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.6114, allocations: 1.764 MB / 442.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.6119, allocations: 0.9507 MB / 443.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.6121, allocations: 57.47 kB / 443.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.6123, allocations: 39.44 kB / 443.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6123, allocations: 0 / 443.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of Templates: time 0.0337/0.646, allocations: 22.42 MB / 465.8 MB, free: 2.805 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches