Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001815/0.001815, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002395/0.002395, allocations: 214.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 71.84 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2405, allocations: 53.41 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.00941/0.2499, allocations: 7.273 MB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.2546, allocations: 2.56 MB / 442.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/0.2553, allocations: 35.81 kB / 442.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.2567, allocations: 0.5205 MB / 442.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.2579, allocations: 0.5002 MB / 443.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.2584, allocations: 275.7 kB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.2601, allocations: 1.513 MB / 445.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006365/0.2607, allocations: 375.3 kB / 445.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000806/0.2615, allocations: 0.5875 MB / 446 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/0.2622, allocations: 0.5246 MB / 446.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.2624, allocations: 140 kB / 446.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.2627, allocations: 184 kB / 446.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.263, allocations: 290.9 kB / 447.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005587/0.2635, allocations: 0.5483 MB / 447.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.2654, allocations: 1.77 MB / 449.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2654, allocations: 4 kB / 449.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2655, allocations: 0 / 449.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.2655, allocations: 3.938 kB / 449.5 MB, free: 5.375 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.002451/0.2679, allocations: 1.438 MB / 450.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.268, allocations: 11.98 kB / 450.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/0.2687, allocations: 216 kB / 451.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.27, allocations: 0.6853 MB / 451.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.27, allocations: 74 kB / 451.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.2702, allocations: 103.9 kB / 452 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.2719, allocations: 1.051 MB / 453 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.2719, allocations: 3.938 kB / 453.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.272, allocations: 44 kB / 453.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.272, allocations: 24 kB / 453.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2733, allocations: 0.6481 MB / 453.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/0.2783, allocations: 3.381 MB / 457.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.2789, allocations: 346.7 kB / 457.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.2795, allocations: 269.3 kB / 457.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.2796, allocations: 7.938 kB / 457.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.2796, allocations: 38.56 kB / 457.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.245e-06/0.2796, allocations: 0 / 457.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003012/0.2826, allocations: 1.324 MB / 459.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.2827, allocations: 85.11 kB / 459.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.2838, allocations: 0.7818 MB / 460 MB, free: 10.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.2838, allocations: 33.7 kB / 460 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.2842, allocations: 0.593 MB / 460.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.2844, allocations: 166.6 kB / 460.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.2846, allocations: 138.5 kB / 460.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.2848, allocations: 386.8 kB / 461.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.2851, allocations: 177.9 kB / 461.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.2857, allocations: 497.3 kB / 461.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.2867, allocations: 0.6799 MB / 462.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2867, allocations: 0 / 462.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001395/0.2881, allocations: 0.7834 MB / 463.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.2881, allocations: 8 kB / 463.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.2882, allocations: 8 kB / 463.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002663/0.2884, allocations: 93.55 kB / 463.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.2889, allocations: 155.9 kB / 463.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.2914, allocations: 2.877 MB / 466.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005451/0.292, allocations: 44.16 kB / 466.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.292, allocations: 36 kB / 466.6 MB, free: 3.305 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.000391/0.2924, allocations: 257.6 kB / 466.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.2926, allocations: 87.47 kB / 467 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2936, allocations: 0.4986 MB / 467.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2936, allocations: 7.938 kB / 467.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.2936, allocations: 3.984 kB / 467.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2936, allocations: 0 / 467.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.2957, allocations: 1.232 MB / 468.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.2957, allocations: 8.125 kB / 468.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.296, allocations: 75.89 kB / 468.8 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.2962, allocations: 69.91 kB / 468.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.2963, allocations: 15.98 kB / 468.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/0.2988, allocations: 2.854 MB / 471.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.2988, allocations: 0 / 471.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.3002, allocations: 0.8058 MB / 472.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.3005, allocations: 119.5 kB / 472.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.3006, allocations: 12 kB / 472.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.301, allocations: 31.97 kB / 472.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.3011, allocations: 47.81 kB / 472.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3011, allocations: 12 kB / 472.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007439/0.3019, allocations: 0.5186 MB / 473.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3019, allocations: 0 / 473.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008474/0.3027, allocations: 208 kB / 473.5 MB, free: 12.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.0002212/0.3029, allocations: 131.1 kB / 473.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.3042, allocations: 0.6822 MB / 474.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3042, allocations: 0 / 474.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.3049, allocations: 450.3 kB / 474.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009804/0.3059, allocations: 204.5 kB / 474.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.309, allocations: 1.802 MB / 476.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.3095, allocations: 426.4 kB / 477.1 MB, free: 8.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.3097, allocations: 59.44 kB / 477.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3097, allocations: 0 / 477.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of Templates: time 0.02815/0.3378, allocations: 21.49 MB / 498.7 MB, free: 2.777 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 9.061151423025876]