Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 60.03 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.08964, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01111/0.1008, allocations: 10.22 MB / 369.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.2463, allocations: 3.308 MB / 372.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.2477, allocations: 58.12 kB / 372.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.2493, allocations: 0.6996 MB / 373.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.2513, allocations: 0.8445 MB / 374 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.2521, allocations: 419.6 kB / 374.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002727/0.2549, allocations: 2.99 MB / 377.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.2573, allocations: 2.482 MB / 379.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.2591, allocations: 1.356 MB / 381.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.2609, allocations: 1.697 MB / 383 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004432/0.2613, allocations: 354.3 kB / 383.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008266/0.2622, allocations: 467.6 kB / 383.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000889/0.2631, allocations: 1.019 MB / 384.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.2646, allocations: 1.612 MB / 386.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003659/0.2682, allocations: 4.692 MB / 391.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2683, allocations: 1.188 kB / 391.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2683, allocations: 0 / 391.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.446e-05/0.2684, allocations: 0 / 391.1 MB, free: 4.422 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.005444/0.2738, allocations: 3.28 MB / 394.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2738, allocations: 9.281 kB / 394.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2749, allocations: 365.9 kB / 394.7 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.2778, allocations: 1.78 MB / 396.5 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.2779, allocations: 170.3 kB / 396.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.2782, allocations: 234.6 kB / 396.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004537/0.2828, allocations: 3.138 MB / 400 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.2828, allocations: 16.33 kB / 400.1 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.283, allocations: 91.34 kB / 400.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.471e-05/0.2831, allocations: 104.6 kB / 400.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004415/0.2876, allocations: 2.706 MB / 403 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/0.3017, allocations: 9.617 MB / 412.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.3044, allocations: 2.165 MB / 414.7 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.3062, allocations: 1.112 MB / 415.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.3065, allocations: 205.4 kB / 416.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3065, allocations: 43.56 kB / 416.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.186e-06/0.3065, allocations: 4 kB / 416.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=131): time 0.01345/0.32, allocations: 6.846 MB / 422.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.32, allocations: 64.72 kB / 423 MB, free: 7.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.3224, allocations: 1.759 MB / 424.8 MB, free: 5.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/0.3225, allocations: 49.7 kB / 424.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007956/0.3233, allocations: 1.161 MB / 426 MB, free: 4.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.3236, allocations: 452.2 kB / 426.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004562/0.3241, allocations: 283.3 kB / 426.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.3242, allocations: 309.1 kB / 427 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.3254, allocations: 0.7964 MB / 427.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.3269, allocations: 1.202 MB / 429 MB, free: 1.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002801/0.3297, allocations: 2.1 MB / 431.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/0.3298, allocations: 8 kB / 431.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00416/0.3339, allocations: 2.674 MB / 433.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.334, allocations: 8 kB / 433.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.334, allocations: 12 kB / 433.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009265/0.3349, allocations: 426 kB / 434.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.3363, allocations: 359.4 kB / 434.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006565/0.3428, allocations: 7.069 MB / 441.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3441, allocations: 111.7 kB / 441.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.3442, allocations: 64 kB / 441.8 MB, free: 4.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001295/0.3455, allocations: 0.8095 MB / 442.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.3459, allocations: 181.8 kB / 442.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/0.3499, allocations: 2.382 MB / 445.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.3499, allocations: 12 kB / 445.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3499, allocations: 7.938 kB / 445.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.35, allocations: 7.922 kB / 445.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008254/0.3582, allocations: 5.1 MB / 450.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.3582, allocations: 4 kB / 450.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.3593, allocations: 236 kB / 450.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.3604, allocations: 455 kB / 451 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.3605, allocations: 35.97 kB / 451 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00826/0.3687, allocations: 8.639 MB / 459.7 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3688, allocations: 7.938 kB / 459.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00556/0.3743, allocations: 3.523 MB / 463.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.3755, allocations: 430.7 kB / 463.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.3758, allocations: 35.98 kB / 463.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/0.3767, allocations: 87.91 kB / 463.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.377, allocations: 116.7 kB / 463.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/0.3771, allocations: 35.98 kB / 463.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001776/0.3789, allocations: 1.214 MB / 465.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3789, allocations: 0 / 465.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001736/0.3806, allocations: 0.5078 MB / 465.6 MB, free: 11.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,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.0003774/0.381, allocations: 194.9 kB / 465.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003817/0.3848, allocations: 2.472 MB / 468.3 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3849, allocations: 4 kB / 468.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002463/0.3873, allocations: 1.606 MB / 469.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.3895, allocations: 490.9 kB / 470.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/0.3971, allocations: 4.987 MB / 475.3 MB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.399, allocations: 2.009 MB / 477.3 MB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001342/0.4003, allocations: 439.5 kB / 477.8 MB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.4007, allocations: 135.4 kB / 477.9 MB, free: 14.93 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4007, allocations: 0 / 477.9 MB, free: 14.93 MB / 398.1 MB Notification: Performance of Templates: time 0.0457/0.4464, allocations: 27.85 MB / 0.4939 GB, free: 3.348 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches