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.001304/0.001304, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 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.001479/0.001479, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 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.385/1.385, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 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 0.001542/0.001542, allocations: 55.92 kB / 379.1 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2276, allocations: 53.35 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006169/0.2337, allocations: 4.989 MB / 437.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.236, allocations: 1.299 MB / 438.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.2363, allocations: 11.94 kB / 438.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.2366, allocations: 130.7 kB / 438.8 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.237, allocations: 257.7 kB / 439.1 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.2377, allocations: 311.5 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.2387, allocations: 1.091 MB / 440.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.2391, allocations: 195 kB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004937/0.2395, allocations: 430.5 kB / 441.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005864/0.2401, allocations: 482 kB / 441.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.2403, allocations: 92 kB / 441.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.2405, allocations: 112 kB / 441.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.2406, allocations: 199.3 kB / 442 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004202/0.2411, allocations: 457.8 kB / 442.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.2421, allocations: 1.032 MB / 443.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2421, allocations: 0 / 443.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2421, allocations: 0 / 443.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.2422, allocations: 4 kB / 443.5 MB, free: 11.84 MB / 350.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.002606/0.2448, allocations: 1.213 MB / 444.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2448, allocations: 8.031 kB / 444.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.245, allocations: 104.3 kB / 444.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.2457, allocations: 426.1 kB / 445.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.2457, allocations: 41.69 kB / 445.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.2458, allocations: 76.33 kB / 445.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.2472, allocations: 0.6548 MB / 446 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.2472, allocations: 0 / 446 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.2473, allocations: 28 kB / 446 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.2473, allocations: 16 kB / 446 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.249, allocations: 0.7 MB / 446.7 MB, free: 8.504 MB / 350.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.003941/0.2529, allocations: 2.304 MB / 449 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.2544, allocations: 0.5631 MB / 449.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/0.2551, allocations: 313.9 kB / 449.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.2551, allocations: 4.438 kB / 449.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009395/0.2561, allocations: 429.4 kB / 450.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.224e-06/0.2561, allocations: 3.938 kB / 450.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07054/0.3266, allocations: 15.24 MB / 465.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.3267, allocations: 149.5 kB / 465.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007639/0.3275, allocations: 0.5225 MB / 466.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.3277, allocations: 45.7 kB / 466.3 MB, free: 4.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.3281, allocations: 396.7 kB / 466.6 MB, free: 4.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.3285, allocations: 329.2 kB / 467 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.3288, allocations: 186.6 kB / 467.1 MB, free: 3.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.329, allocations: 386.7 kB / 467.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.331, allocations: 0.7244 MB / 468.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.3332, allocations: 0.959 MB / 469.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004046/0.3372, allocations: 1.693 MB / 470.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3372, allocations: 8 kB / 470.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02333/0.3606, allocations: 5.327 MB / 476.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.3607, allocations: 71.52 kB / 476.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.3607, allocations: 12 kB / 476.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03448/0.3952, allocations: 6.825 MB / 483.1 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.3959, allocations: 151.7 kB / 483.3 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/0.402, allocations: 3.013 MB / 486.3 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.4036, allocations: 183.8 kB / 486.5 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.4037, allocations: 47.97 kB / 486.5 MB, free: 60 kB / 382.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.0004385/0.4042, allocations: 225.6 kB / 486.8 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.4043, allocations: 83.48 kB / 486.8 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02259/0.4269, allocations: 5.06 MB / 491.9 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.4269, allocations: 8 kB / 491.9 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4269, allocations: 0 / 491.9 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.427, allocations: 7.969 kB / 491.9 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.4286, allocations: 1.076 MB / 493 MB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4286, allocations: 4 kB / 493 MB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.4291, allocations: 91.83 kB / 493.1 MB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03482/0.4639, allocations: 6.781 MB / 499.9 MB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.4641, allocations: 19.98 kB / 499.9 MB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006048/0.4702, allocations: 3.045 MB / 0.4911 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4702, allocations: 128 / 0.4911 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02449/0.4946, allocations: 5.944 MB / 0.4969 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.4948, allocations: 83.39 kB / 0.497 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.495, allocations: 16 kB / 0.497 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.4963, allocations: 171.8 kB / 0.4972 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.4966, allocations: 104.7 kB / 0.4973 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.4966, allocations: 31.92 kB / 0.4973 GB, free: 9.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004372/0.4971, allocations: 362.8 kB / 0.4977 GB, free: 8.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4971, allocations: 0 / 0.4977 GB, free: 8.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007424/0.4978, allocations: 260 kB / 0.4979 GB, free: 8.543 MB / 414.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.0002442/0.4981, allocations: 127.2 kB / 0.498 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005883/0.504, allocations: 1.97 MB / 0.5 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.504, allocations: 4 kB / 0.5 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003425/0.5074, allocations: 1.007 MB / 0.501 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.5081, allocations: 125.3 kB / 0.5011 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.5118, allocations: 1.853 MB / 0.5029 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/0.5124, allocations: 0.9507 MB / 0.5038 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.5126, allocations: 35.44 kB / 0.5038 GB, free: 2.387 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5126, allocations: 0 / 0.5038 GB, free: 2.387 MB / 414.1 MB Notification: Performance of Templates: time 0.02267/0.5352, allocations: 17.48 MB / 0.5209 GB, free: 0.9336 MB / 430.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/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: 8.187080965843052]