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.001119/0.001119, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.001193/0.001193, allocations: 191 kB / 19.29 MB, free: 3.715 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.316/1.316, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001146/0.001146, allocations: 51.92 kB / 282.1 MB, free: 2.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.0889, allocations: 46.64 MB / 328.7 MB, free: 3.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005336/0.09428, allocations: 4.692 MB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.09632, allocations: 1.264 MB / 334.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.09658, allocations: 8 kB / 334.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.09689, allocations: 122.7 kB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.09726, allocations: 241.7 kB / 335.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.09786, allocations: 307.5 kB / 335.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.09871, allocations: 1.056 MB / 336.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.09907, allocations: 258.4 kB / 336.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.09947, allocations: 402.6 kB / 337.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.09992, allocations: 458.1 kB / 337.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.1, allocations: 84 kB / 337.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.1002, allocations: 112 kB / 337.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1004, allocations: 187.3 kB / 337.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.1007, allocations: 433.9 kB / 338.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007533/0.1015, allocations: 0.9655 MB / 339.3 MB, free: 9.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1015, allocations: 0 / 339.3 MB, free: 9.188 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1015, allocations: 0 / 339.3 MB, free: 9.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1015, allocations: 3.984 kB / 339.3 MB, free: 9.184 MB / 286.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.002281/0.1038, allocations: 1.211 MB / 340.5 MB, free: 7.902 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1038, allocations: 12.03 kB / 340.5 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.104, allocations: 87.91 kB / 340.6 MB, free: 7.805 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.1046, allocations: 469.3 kB / 341 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.1047, allocations: 49.69 kB / 341.1 MB, free: 7.258 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1048, allocations: 60.38 kB / 341.1 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.1061, allocations: 0.6392 MB / 341.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1061, allocations: 0 / 341.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.1062, allocations: 27.98 kB / 341.8 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.1062, allocations: 20 kB / 341.8 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.1077, allocations: 0.6687 MB / 342.5 MB, free: 5.836 MB / 286.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.00348/0.1112, allocations: 2.32 MB / 344.8 MB, free: 3.367 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.1126, allocations: 0.5904 MB / 345.4 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/0.1133, allocations: 338 kB / 345.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/0.1133, allocations: 12.41 kB / 345.8 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008746/0.1142, allocations: 421.4 kB / 346.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.094e-06/0.1142, allocations: 0 / 346.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=94): time 0.06809/0.1823, allocations: 15.39 MB / 361.6 MB, free: 2.492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1825, allocations: 145.5 kB / 361.7 MB, free: 2.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.1831, allocations: 498.8 kB / 362.2 MB, free: 1.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.1832, allocations: 49.7 kB / 362.2 MB, free: 1.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.1835, allocations: 367.9 kB / 362.6 MB, free: 1.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.1837, allocations: 311.5 kB / 362.9 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.1841, allocations: 178.5 kB / 363.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1843, allocations: 382.8 kB / 363.4 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.1862, allocations: 0.7202 MB / 364.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.1882, allocations: 0.9226 MB / 365.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/0.1921, allocations: 1.666 MB / 366.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1921, allocations: 0 / 366.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02245/0.2146, allocations: 5.35 MB / 372.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.935e-05/0.2147, allocations: 59.41 kB / 372.2 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.2148, allocations: 4 kB / 372.2 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03349/0.2483, allocations: 6.828 MB / 379 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.249, allocations: 143.7 kB / 379.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1628/0.4118, allocations: 3.003 MB / 382.1 MB, free: 52.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.4136, allocations: 178.2 kB / 382.3 MB, free: 52.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.4137, allocations: 47.08 kB / 382.4 MB, free: 52.37 MB / 318.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.0003885/0.4141, allocations: 232.4 kB / 382.6 MB, free: 52.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4143, allocations: 72.59 kB / 382.7 MB, free: 52.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02171/0.436, allocations: 5.1 MB / 387.8 MB, free: 51.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.436, allocations: 9.062 kB / 387.8 MB, free: 51.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.4361, allocations: 2.5 kB / 387.8 MB, free: 51.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.4361, allocations: 7.688 kB / 387.8 MB, free: 51.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.4375, allocations: 1.084 MB / 388.9 MB, free: 50.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4375, allocations: 3.891 kB / 388.9 MB, free: 50.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.438, allocations: 97 kB / 389 MB, free: 50.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03084/0.4688, allocations: 6.785 MB / 395.7 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/0.4691, allocations: 30.94 kB / 395.8 MB, free: 49.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004983/0.4741, allocations: 3.036 MB / 398.8 MB, free: 47.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4741, allocations: 0 / 398.8 MB, free: 47.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02122/0.4954, allocations: 5.981 MB / 404.8 MB, free: 41.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.4956, allocations: 144.2 kB / 404.9 MB, free: 41.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.4958, allocations: 20 kB / 405 MB, free: 41.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.497, allocations: 167.8 kB / 405.1 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.4973, allocations: 96.88 kB / 405.2 MB, free: 41.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.4974, allocations: 27.98 kB / 405.2 MB, free: 41.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.4977, allocations: 334.9 kB / 405.6 MB, free: 40.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4977, allocations: 0 / 405.6 MB, free: 40.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006905/0.4984, allocations: 265.1 kB / 405.8 MB, free: 40.52 MB / 318.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.0002487/0.4987, allocations: 135.8 kB / 406 MB, free: 40.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005031/0.5037, allocations: 2.033 MB / 408 MB, free: 38.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5037, allocations: 0 / 408 MB, free: 38.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002925/0.5067, allocations: 1.088 MB / 409.1 MB, free: 37.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.5073, allocations: 137.9 kB / 409.2 MB, free: 37.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.5102, allocations: 1.733 MB / 410.9 MB, free: 35.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.5105, allocations: 0.9414 MB / 411.9 MB, free: 34.42 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.5107, allocations: 58.72 kB / 411.9 MB, free: 34.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.5109, allocations: 31.44 kB / 412 MB, free: 34.34 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5109, allocations: 4 kB / 412 MB, free: 34.33 MB / 318.1 MB Notification: Performance of Templates: time 0.02553/0.5364, allocations: 22.55 MB / 434.5 MB, free: 11.8 MB / 318.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 -s cvode -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