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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 82.23 kB / 21.43 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 160.8 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,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=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.612e-05, allocations: 6.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005624/0.00565, allocations: 4.194 MB / 303.2 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.00819, allocations: 1.233 MB / 304.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.008533, allocations: 15.94 kB / 304.4 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.008807, allocations: 114.8 kB / 304.5 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.009291, allocations: 257.6 kB / 304.8 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.009967, allocations: 303.4 kB / 305.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.01129, allocations: 1.083 MB / 306.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.01169, allocations: 174.9 kB / 306.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008313/0.01252, allocations: 0.5964 MB / 306.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.01304, allocations: 355 kB / 307.3 MB, free: 356 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.01317, allocations: 88 kB / 307.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.01341, allocations: 115.9 kB / 307.5 MB, free: 152 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.01361, allocations: 199.3 kB / 307.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.01397, allocations: 307.2 kB / 308 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.01513, allocations: 1.055 MB / 309 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.01513, allocations: 0 / 309 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01513, allocations: 0 / 309 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.01515, allocations: 7.938 kB / 309 MB, free: 14.59 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.0026/0.01775, allocations: 1.155 MB / 310.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.01779, allocations: 11.98 kB / 310.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.01795, allocations: 92.38 kB / 310.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.01863, allocations: 411.3 kB / 310.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.01867, allocations: 49.62 kB / 310.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.01879, allocations: 64.36 kB / 310.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.02026, allocations: 0.7572 MB / 311.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.02027, allocations: 4.188 kB / 311.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.02034, allocations: 24.38 kB / 311.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.02036, allocations: 19.94 kB / 311.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.02207, allocations: 0.6687 MB / 312.3 MB, free: 11.23 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.003548/0.02562, allocations: 1.758 MB / 314 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.02711, allocations: 0.5556 MB / 314.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/0.02789, allocations: 318.1 kB / 314.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.02793, allocations: 4.5 kB / 314.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.02895, allocations: 0.5458 MB / 315.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.993e-06/0.02895, allocations: 0 / 315.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.2109/0.2398, allocations: 15.23 MB / 330.7 MB, free: 32.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.2399, allocations: 148.6 kB / 330.8 MB, free: 32.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006351/0.2405, allocations: 496.6 kB / 331.3 MB, free: 32.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.2407, allocations: 47.14 kB / 331.3 MB, free: 32.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.241, allocations: 371.3 kB / 331.7 MB, free: 32.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.2413, allocations: 316.2 kB / 332 MB, free: 31.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.2416, allocations: 179.8 kB / 332.2 MB, free: 31.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.2417, allocations: 379.9 kB / 332.6 MB, free: 31.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.2438, allocations: 0.7775 MB / 333.3 MB, free: 31.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.2459, allocations: 1.056 MB / 334.4 MB, free: 30.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/0.2498, allocations: 1.665 MB / 336.1 MB, free: 29.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.2498, allocations: 1.875 kB / 336.1 MB, free: 29.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02176/0.2715, allocations: 5.372 MB / 341.4 MB, free: 26.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.2716, allocations: 63.02 kB / 341.5 MB, free: 26.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.2716, allocations: 7.531 kB / 341.5 MB, free: 26.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03145/0.3031, allocations: 6.827 MB / 348.3 MB, free: 20.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.3038, allocations: 143.7 kB / 348.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/0.3092, allocations: 3.014 MB / 351.5 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.3109, allocations: 175.8 kB / 351.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.311, allocations: 47.97 kB / 351.7 MB, free: 16.93 MB / 302.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.0004952/0.3115, allocations: 218.6 kB / 351.9 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.3117, allocations: 79.47 kB / 352 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0208/0.3325, allocations: 5.069 MB / 357.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.3325, allocations: 13.86 kB / 357.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.3326, allocations: 0.5625 kB / 357.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.3326, allocations: 3.984 kB / 357.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.334, allocations: 0.7505 MB / 357.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.3341, allocations: 0 / 357.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.3346, allocations: 91.88 kB / 357.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03123/0.3658, allocations: 6.781 MB / 364.7 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/0.3661, allocations: 25.02 kB / 364.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/0.3719, allocations: 3.035 MB / 367.8 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3719, allocations: 3.938 kB / 367.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02519/0.3971, allocations: 5.944 MB / 373.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.3973, allocations: 67.52 kB / 373.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.3976, allocations: 28.86 kB / 373.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.3991, allocations: 159.9 kB / 374 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.3994, allocations: 112.8 kB / 374.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.3996, allocations: 31.97 kB / 374.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004524/0.4, allocations: 330.9 kB / 374.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4, allocations: 0 / 374.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009039/0.4009, allocations: 255.7 kB / 374.7 MB, free: 9.887 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.0003298/0.4012, allocations: 127.8 kB / 374.8 MB, free: 9.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006636/0.4079, allocations: 2.023 MB / 376.8 MB, free: 7.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.4079, allocations: 4 kB / 376.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003795/0.4117, allocations: 1.009 MB / 377.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.4125, allocations: 122.7 kB / 378 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.4164, allocations: 1.707 MB / 379.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.4168, allocations: 348.9 kB / 380 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000232/0.417, allocations: 50.55 kB / 380.1 MB, free: 4.434 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.4171, allocations: 36.48 kB / 380.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4171, allocations: 4 kB / 380.1 MB, free: 4.395 MB / 318.1 MB Notification: Performance of Templates: time 0.03181/0.4489, allocations: 18.78 MB / 398.9 MB, free: 1.574 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.506652995944023]