Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001883/0.001883, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002513/0.002513, allocations: 157.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 272.3 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.404e-05, allocations: 2.312 kB / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007002/0.007036, allocations: 4.422 MB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.009761, allocations: 1.256 MB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.01012, allocations: 19.88 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.01043, allocations: 114.8 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.011, allocations: 277.4 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000774/0.01177, allocations: 319.4 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.01318, allocations: 1.13 MB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.01353, allocations: 179 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008751/0.01441, allocations: 0.6042 MB / 280.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.01498, allocations: 378.9 kB / 281 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.01515, allocations: 96 kB / 281.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.01541, allocations: 127.9 kB / 281.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.01561, allocations: 207.3 kB / 281.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.01603, allocations: 335.2 kB / 281.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.01742, allocations: 1.133 MB / 282.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01742, allocations: 0 / 282.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01742, allocations: 0 / 282.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.01744, allocations: 0 / 282.9 MB, free: 7.168 MB / 266.7 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.003355/0.02079, allocations: 1.213 MB / 284.1 MB, free: 5.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.02084, allocations: 8.031 kB / 284.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.02115, allocations: 160.2 kB / 284.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009755/0.02212, allocations: 466.6 kB / 284.7 MB, free: 5.258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.02218, allocations: 45.69 kB / 284.8 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.02232, allocations: 64.38 kB / 284.8 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.02399, allocations: 0.7806 MB / 285.6 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.02401, allocations: 8.141 kB / 285.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.02409, allocations: 24.38 kB / 285.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.02411, allocations: 19.94 kB / 285.7 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.02597, allocations: 0.6921 MB / 286.4 MB, free: 3.59 MB / 266.7 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.004233/0.0302, allocations: 1.817 MB / 288.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.03175, allocations: 0.5556 MB / 288.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007954/0.03255, allocations: 310.8 kB / 289 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.118e-05/0.0326, allocations: 8.5 kB / 289 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.03377, allocations: 0.5458 MB / 289.6 MB, free: 224 kB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.285e-06/0.03377, allocations: 4 kB / 289.6 MB, free: 220 kB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1809/0.2146, allocations: 15.26 MB / 304.9 MB, free: 22.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.2147, allocations: 149.5 kB / 305 MB, free: 22.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.2152, allocations: 0.5184 MB / 305.5 MB, free: 21.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.2154, allocations: 45.7 kB / 305.6 MB, free: 21.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.2156, allocations: 396.6 kB / 306 MB, free: 21.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.2158, allocations: 325 kB / 306.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.2161, allocations: 182.6 kB / 306.4 MB, free: 20.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.2162, allocations: 382.8 kB / 306.8 MB, free: 20.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.218, allocations: 0.7785 MB / 307.6 MB, free: 19.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.2199, allocations: 1.088 MB / 308.7 MB, free: 18.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/0.2234, allocations: 1.7 MB / 310.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2234, allocations: 4 kB / 310.4 MB, free: 16.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0228/0.2462, allocations: 5.444 MB / 315.8 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.2462, allocations: 65.59 kB / 315.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.2463, allocations: 8 kB / 315.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03763/0.2839, allocations: 7.721 MB / 323.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/0.2845, allocations: 147.7 kB / 323.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.2899, allocations: 3.041 MB / 326.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.2917, allocations: 179.9 kB / 327 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.2918, allocations: 47.97 kB / 327 MB, free: 15.72 MB / 282.7 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.0004754/0.2923, allocations: 231.5 kB / 327.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.2926, allocations: 115.5 kB / 327.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02513/0.3177, allocations: 5.063 MB / 332.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.3177, allocations: 8 kB / 332.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3177, allocations: 4 kB / 332.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.3177, allocations: 3.984 kB / 332.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.3192, allocations: 0.7668 MB / 333.2 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3192, allocations: 0 / 333.2 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.3198, allocations: 95.81 kB / 333.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04278/0.3625, allocations: 7.675 MB / 341 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.3627, allocations: 19.98 kB / 341 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007237/0.37, allocations: 3.062 MB / 344.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.37, allocations: 0 / 344.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02816/0.3981, allocations: 5.987 MB / 350.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.3984, allocations: 75.44 kB / 350.1 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.3986, allocations: 16 kB / 350.1 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.4001, allocations: 177.2 kB / 350.3 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/0.4004, allocations: 100.8 kB / 350.4 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.4005, allocations: 34.59 kB / 350.5 MB, free: 8.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004928/0.401, allocations: 346.9 kB / 350.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.401, allocations: 0 / 350.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008608/0.4018, allocations: 260 kB / 351 MB, free: 7.59 MB / 298.7 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.0002907/0.4021, allocations: 129.3 kB / 351.2 MB, free: 7.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.006777/0.4089, allocations: 2.028 MB / 353.2 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4089, allocations: 0 / 353.2 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003824/0.4127, allocations: 1.012 MB / 354.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000833/0.4136, allocations: 151.7 kB / 354.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.4176, allocations: 1.783 MB / 356.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.418, allocations: 357.7 kB / 356.5 MB, free: 2.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.4183, allocations: 61.19 kB / 356.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.4184, allocations: 36.5 kB / 356.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4184, allocations: 0 / 356.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of Templates: time 0.03455/0.453, allocations: 18.98 MB / 375.6 MB, free: 15.17 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.665079260012135]