Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008417/0.008417, allocations: 105.9 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002099/0.002099, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.566/1.566, allocations: 230.6 MB / 259 MB, free: 8.039 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-beta.om/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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 63.89 kB / 379.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2416, allocations: 53.37 MB / 433.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00648/0.2481, allocations: 4.985 MB / 438.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.2506, allocations: 1.303 MB / 439.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.251, allocations: 15.94 kB / 439.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.2513, allocations: 118.7 kB / 439.6 MB, free: 492 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.2518, allocations: 265.6 kB / 439.9 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.2526, allocations: 307.5 kB / 440.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.2538, allocations: 1.099 MB / 441.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.2541, allocations: 183 kB / 441.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.2547, allocations: 438.5 kB / 441.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.2553, allocations: 478 kB / 442.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.2555, allocations: 92 kB / 442.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.2557, allocations: 112 kB / 442.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.2559, allocations: 199.3 kB / 442.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.2563, allocations: 461.8 kB / 443.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.2575, allocations: 1.04 MB / 444.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2575, allocations: 0 / 444.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2575, allocations: 7.938 kB / 444.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.2575, allocations: 0 / 444.2 MB, free: 11.83 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.002638/0.2602, allocations: 1.202 MB / 445.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2602, allocations: 8.031 kB / 445.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.2604, allocations: 104.3 kB / 445.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/0.2611, allocations: 426.1 kB / 446 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.2611, allocations: 49.69 kB / 446 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.2613, allocations: 68.31 kB / 446.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.2627, allocations: 0.6587 MB / 446.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2627, allocations: 0 / 446.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.2628, allocations: 24 kB / 446.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.2628, allocations: 16 kB / 446.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.2646, allocations: 0.6961 MB / 447.5 MB, free: 8.516 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.004347/0.2689, allocations: 2.316 MB / 449.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.2704, allocations: 0.5561 MB / 450.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/0.2712, allocations: 309.9 kB / 450.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.2712, allocations: 8.375 kB / 450.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009859/0.2722, allocations: 441.4 kB / 451.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.334e-06/0.2722, allocations: 0 / 451.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07132/0.3435, allocations: 15.24 MB / 466.3 MB, free: 5.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.3437, allocations: 141.5 kB / 466.5 MB, free: 5.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007399/0.3444, allocations: 0.5186 MB / 467 MB, free: 4.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001742/0.3446, allocations: 45.7 kB / 467 MB, free: 4.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.3449, allocations: 396.7 kB / 467.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.3452, allocations: 329.2 kB / 467.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003753/0.3456, allocations: 186.6 kB / 467.9 MB, free: 3.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.3458, allocations: 386.7 kB / 468.3 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.3479, allocations: 0.7244 MB / 469 MB, free: 2.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.3501, allocations: 0.959 MB / 470 MB, free: 1.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/0.3544, allocations: 1.689 MB / 471.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3544, allocations: 4 kB / 471.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02383/0.3782, allocations: 5.339 MB / 477 MB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/0.3783, allocations: 67.39 kB / 477.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.3783, allocations: 4 kB / 477.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03406/0.4124, allocations: 6.836 MB / 483.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.4131, allocations: 143.7 kB / 484.1 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.4195, allocations: 3.017 MB / 487.1 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.4212, allocations: 171.9 kB / 487.2 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.4213, allocations: 51.97 kB / 487.3 MB, free: 80 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.0004678/0.4218, allocations: 237.6 kB / 487.5 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.422, allocations: 83.48 kB / 487.6 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02301/0.445, allocations: 5.064 MB / 492.7 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.445, allocations: 15.94 kB / 492.7 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.445, allocations: 0 / 492.7 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.445, allocations: 4.234 kB / 492.7 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.4466, allocations: 1.072 MB / 493.8 MB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4466, allocations: 4 kB / 493.8 MB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.4472, allocations: 99.88 kB / 493.9 MB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04634/0.4935, allocations: 6.777 MB / 0.4889 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/0.4938, allocations: 27.97 kB / 0.4889 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009364/0.5031, allocations: 3.033 MB / 0.4919 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5031, allocations: 0 / 0.4919 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02875/0.5319, allocations: 5.944 MB / 0.4977 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.5321, allocations: 79.39 kB / 0.4978 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.5323, allocations: 20 kB / 0.4978 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.5337, allocations: 171.8 kB / 0.498 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.5339, allocations: 96.83 kB / 0.4981 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/0.534, allocations: 35.97 kB / 0.4981 GB, free: 9.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004508/0.5345, allocations: 354.8 kB / 0.4984 GB, free: 8.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5345, allocations: 4 kB / 0.4984 GB, free: 8.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000738/0.5352, allocations: 256 kB / 0.4987 GB, free: 8.559 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.0002654/0.5355, allocations: 143.1 kB / 0.4988 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005968/0.5414, allocations: 1.959 MB / 0.5007 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5414, allocations: 64 / 0.5007 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003551/0.545, allocations: 1.015 MB / 0.5017 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.5458, allocations: 130.4 kB / 0.5018 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.5496, allocations: 1.843 MB / 0.5036 GB, free: 3.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.5501, allocations: 0.9507 MB / 0.5046 GB, free: 2.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.5503, allocations: 35.44 kB / 0.5046 GB, free: 2.395 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5503, allocations: 0 / 0.5046 GB, free: 2.395 MB / 414.1 MB Notification: Performance of Templates: time 0.02303/0.5733, allocations: 17.47 MB / 0.5217 GB, free: 0.9492 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.966564122121781]