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.001288/0.001288, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001434/0.001434, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.404/1.404, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.001973/0.001973, allocations: 75.83 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2165, allocations: 53.31 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006851/0.2233, allocations: 5 MB / 437.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.2262, allocations: 1.291 MB / 438.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.2268, allocations: 11.94 kB / 438.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.2272, allocations: 126.7 kB / 438.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007115/0.2279, allocations: 265.6 kB / 438.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.2287, allocations: 311.4 kB / 439.1 MB, free: 336 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.2298, allocations: 1.091 MB / 440.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.2302, allocations: 190.5 kB / 440.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.2307, allocations: 422.5 kB / 440.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.2313, allocations: 478 kB / 441.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.2315, allocations: 92 kB / 441.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.2317, allocations: 119.9 kB / 441.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.2318, allocations: 199.3 kB / 441.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.2323, allocations: 449.8 kB / 442.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.2334, allocations: 1.041 MB / 443.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2334, allocations: 0 / 443.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2334, allocations: 8 kB / 443.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2334, allocations: 0 / 443.1 MB, free: 12.25 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.002728/0.2361, allocations: 1.281 MB / 444.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2362, allocations: 8.031 kB / 444.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.2363, allocations: 100.3 kB / 444.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.2371, allocations: 491.9 kB / 445 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.2371, allocations: 49.69 kB / 445 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.2372, allocations: 76.3 kB / 445.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.2387, allocations: 0.6509 MB / 445.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.2387, allocations: 0 / 445.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/0.2388, allocations: 28 kB / 445.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2388, allocations: 12 kB / 445.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.2407, allocations: 0.6961 MB / 446.5 MB, free: 8.762 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.00412/0.2448, allocations: 2.375 MB / 448.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.2464, allocations: 0.552 MB / 449.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008054/0.2472, allocations: 310 kB / 449.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.2472, allocations: 8.438 kB / 449.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009975/0.2482, allocations: 433.3 kB / 450.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.164e-06/0.2482, allocations: 4 kB / 450.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07182/0.32, allocations: 15.38 MB / 465.5 MB, free: 5.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.3201, allocations: 145.5 kB / 465.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/0.3209, allocations: 0.5263 MB / 466.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.321, allocations: 41.7 kB / 466.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.3214, allocations: 396.7 kB / 466.6 MB, free: 4.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.3217, allocations: 329.2 kB / 466.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.3221, allocations: 186.6 kB / 467.1 MB, free: 3.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3223, allocations: 382.8 kB / 467.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.3244, allocations: 0.7244 MB / 468.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.3268, allocations: 0.9629 MB / 469.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004308/0.3311, allocations: 1.693 MB / 470.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.3311, allocations: 8 kB / 470.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02396/0.355, allocations: 5.327 MB / 476.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.3551, allocations: 70.2 kB / 476.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3551, allocations: 8.047 kB / 476.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03493/0.3901, allocations: 6.836 MB / 483.1 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.3908, allocations: 147.8 kB / 483.3 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006346/0.3971, allocations: 3.021 MB / 486.3 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.3989, allocations: 179.8 kB / 486.5 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.399, allocations: 47.97 kB / 486.5 MB, free: 76 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.0004855/0.3995, allocations: 233.6 kB / 486.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.3996, allocations: 83.48 kB / 486.8 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02321/0.4228, allocations: 5.06 MB / 491.9 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-05/0.4229, allocations: 3.984 kB / 491.9 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.4229, allocations: 0 / 491.9 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.4231, allocations: 148.6 kB / 492 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.4233, allocations: 24 kB / 492.1 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.4247, allocations: 175.7 kB / 492.2 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/0.4251, allocations: 140.8 kB / 492.4 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01381/0.4389, allocations: 3.211 MB / 495.6 MB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006832/0.4458, allocations: 2.524 MB / 498.1 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002054/0.4478, allocations: 0.6479 MB / 498.8 MB, free: 3.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004654/0.4483, allocations: 354.8 kB / 499.1 MB, free: 3.41 MB / 398.1 MB Notification: Performance of Backend: time 4.6e-07/0.4483, allocations: 0 / 499.1 MB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004836/0.4531, allocations: 1.375 MB / 0.4887 GB, free: 2.008 MB / 398.1 MB Notification: Performance of SimCode: time 0.003137/0.4563, allocations: 2.475 MB / 0.4912 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Templates: time 0.03732/0.4936, allocations: 22.78 MB / 0.5134 GB, free: 8.785 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.143440921325237]