Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.00133/0.00133, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001411/0.001411, allocations: 211.6 kB / 24.49 MB, free: 3.969 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 55.91 kB / 379 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.207, allocations: 53.37 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009523/0.2165, allocations: 7.274 MB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004535/0.2211, allocations: 2.568 MB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005275/0.2216, allocations: 27.88 kB / 442.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.2229, allocations: 0.5286 MB / 442.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000966/0.2239, allocations: 0.4963 MB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.2244, allocations: 275.6 kB / 443.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.2259, allocations: 1.504 MB / 445 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006163/0.2265, allocations: 407.3 kB / 445.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.2272, allocations: 0.5876 MB / 446 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.2279, allocations: 0.6144 MB / 446.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.228, allocations: 140 kB / 446.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.2284, allocations: 184 kB / 446.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.2286, allocations: 286.9 kB / 447.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005391/0.2291, allocations: 0.5521 MB / 447.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.2309, allocations: 1.776 MB / 449.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2309, allocations: 0 / 449.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2309, allocations: 4 kB / 449.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.2309, allocations: 0 / 449.5 MB, free: 5.477 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002456/0.2333, allocations: 1.442 MB / 451 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2334, allocations: 8.031 kB / 451 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007476/0.2341, allocations: 204 kB / 451.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.2354, allocations: 0.6854 MB / 451.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.2354, allocations: 77.94 kB / 452 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.2356, allocations: 103.9 kB / 452.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.2373, allocations: 1.047 MB / 453.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.2373, allocations: 3.938 kB / 453.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/0.2374, allocations: 44 kB / 453.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.2374, allocations: 24 kB / 453.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.2387, allocations: 0.6481 MB / 453.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/0.2435, allocations: 3.389 MB / 457.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/0.2441, allocations: 349.4 kB / 457.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.2447, allocations: 260.7 kB / 457.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.2448, allocations: 8 kB / 457.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.2448, allocations: 34.56 kB / 457.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.703e-06/0.2448, allocations: 0 / 457.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.002781/0.2476, allocations: 1.327 MB / 459.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.2476, allocations: 81.11 kB / 459.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.2487, allocations: 0.7896 MB / 460 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2487, allocations: 29.7 kB / 460.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.2491, allocations: 0.5969 MB / 460.7 MB, free: 9.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.2493, allocations: 162.6 kB / 460.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.2495, allocations: 138.6 kB / 461 MB, free: 9.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.2497, allocations: 386.8 kB / 461.3 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.25, allocations: 173.9 kB / 461.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.2506, allocations: 497.2 kB / 462 MB, free: 8.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.2516, allocations: 0.6799 MB / 462.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2516, allocations: 4 kB / 462.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001408/0.253, allocations: 0.7794 MB / 463.5 MB, free: 6.844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2531, allocations: 12 kB / 463.5 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.2531, allocations: 11.94 kB / 463.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.2533, allocations: 85.92 kB / 463.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/0.2539, allocations: 155.7 kB / 463.7 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.2563, allocations: 2.893 MB / 466.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.2568, allocations: 31.98 kB / 466.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.2569, allocations: 32 kB / 466.7 MB, free: 3.418 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003355/0.2572, allocations: 257.6 kB / 466.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2574, allocations: 91.5 kB / 467 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.2584, allocations: 0.4986 MB / 467.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.2584, allocations: 7.922 kB / 467.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2584, allocations: 4 kB / 467.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.2586, allocations: 111.4 kB / 467.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/0.2587, allocations: 12 kB / 467.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.2592, allocations: 28.09 kB / 467.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.2592, allocations: 35.92 kB / 467.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001207/0.2604, allocations: 0.5252 MB / 468.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001195/0.2616, allocations: 0.7616 MB / 469 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003087/0.2619, allocations: 148.3 kB / 469.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006937/0.2626, allocations: 0.5186 MB / 469.7 MB, free: 392 kB / 366.1 MB Notification: Performance of Backend: time 3.61e-07/0.2626, allocations: 0 / 469.7 MB, free: 392 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.2641, allocations: 0.6804 MB / 470.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of SimCode: time 0.003177/0.2672, allocations: 2.293 MB / 472.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Templates: time 0.02219/0.2894, allocations: 13.17 MB / 485.8 MB, free: 388 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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: 4.730945283001347]