Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001208, allocations: 114.5 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 60.09 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2081, allocations: 50.55 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01171/0.2199, allocations: 11.84 MB / 421.8 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00633/0.2262, allocations: 3.994 MB / 425.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.2274, allocations: 63.75 kB / 425.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.2292, allocations: 0.8733 MB / 426.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.2313, allocations: 0.9822 MB / 427.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009417/0.2322, allocations: 0.5265 MB / 428.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.2354, allocations: 3.467 MB / 431.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.2381, allocations: 2.716 MB / 434.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.24, allocations: 1.557 MB / 436 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.2421, allocations: 1.946 MB / 437.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004914/0.2426, allocations: 412 kB / 438.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000993/0.2436, allocations: 0.6207 MB / 438.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009231/0.2446, allocations: 1.141 MB / 440.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.2463, allocations: 1.851 MB / 441.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.2508, allocations: 5.383 MB / 447.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2508, allocations: 0 / 447.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2508, allocations: 0 / 447.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.381e-05/0.2509, allocations: 4 kB / 447.3 MB, free: 12.08 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.00638/0.2573, allocations: 3.73 MB / 451 MB, free: 8.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2573, allocations: 8.031 kB / 451 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.2588, allocations: 468.7 kB / 451.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.262, allocations: 1.981 MB / 453.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.2621, allocations: 205.4 kB / 453.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/0.2625, allocations: 268 kB / 453.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005066/0.2676, allocations: 3.517 MB / 457.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.9e-05/0.2676, allocations: 11.91 kB / 457.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.2679, allocations: 111.9 kB / 457.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.268, allocations: 125.2 kB / 457.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004492/0.2725, allocations: 2.968 MB / 460.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.2869, allocations: 10.97 MB / 471.6 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.2894, allocations: 2.273 MB / 473.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.2912, allocations: 1.172 MB / 475.1 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.2915, allocations: 207.5 kB / 475.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.2915, allocations: 51.88 kB / 475.3 MB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 2.935e-06/0.2916, allocations: 0 / 475.3 MB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01429/0.3059, allocations: 7.512 MB / 482.8 MB, free: 7.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3059, allocations: 68.72 kB / 482.9 MB, free: 7.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.3083, allocations: 1.992 MB / 484.9 MB, free: 5.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/0.3083, allocations: 53.7 kB / 485 MB, free: 5.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008207/0.3092, allocations: 1.316 MB / 486.3 MB, free: 4.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.3095, allocations: 0.5045 MB / 486.8 MB, free: 3.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004575/0.31, allocations: 327.2 kB / 487.1 MB, free: 3.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.3101, allocations: 305.1 kB / 487.4 MB, free: 2.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.3114, allocations: 0.8823 MB / 488.3 MB, free: 2.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.313, allocations: 1.375 MB / 489.7 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.316, allocations: 2.385 MB / 492 MB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.316, allocations: 4 kB / 492 MB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004346/0.3204, allocations: 2.989 MB / 495 MB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3204, allocations: 12 kB / 495 MB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3204, allocations: 20.38 kB / 495.1 MB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/0.3214, allocations: 464.4 kB / 495.5 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.3229, allocations: 431.3 kB / 495.9 MB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/0.3287, allocations: 6.087 MB / 0.4903 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.33, allocations: 127.8 kB / 0.4904 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.3301, allocations: 71.98 kB / 0.4904 GB, free: 3.418 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001106/0.3312, allocations: 0.8563 MB / 0.4913 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.3315, allocations: 209.4 kB / 0.4915 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/0.3355, allocations: 2.603 MB / 0.494 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.3355, allocations: 16 kB / 0.494 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3355, allocations: 4 kB / 0.494 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.3356, allocations: 7.969 kB / 0.4941 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008201/0.3438, allocations: 5.626 MB / 0.4995 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3438, allocations: 4 kB / 0.4996 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.3449, allocations: 280 kB / 0.4998 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.3461, allocations: 0.493 MB / 0.5003 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.323e-05/0.3462, allocations: 35.98 kB / 0.5003 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006867/0.3531, allocations: 7.678 MB / 0.5078 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3531, allocations: 4 kB / 0.5078 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005293/0.3584, allocations: 3.835 MB / 0.5116 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008928/0.3593, allocations: 478.4 kB / 0.512 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.3595, allocations: 39.98 kB / 0.5121 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.3605, allocations: 99.83 kB / 0.5122 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.3608, allocations: 117.1 kB / 0.5123 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/0.3609, allocations: 47.98 kB / 0.5123 GB, free: 12.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001658/0.3625, allocations: 1.364 MB / 0.5137 GB, free: 10.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3626, allocations: 4 kB / 0.5137 GB, free: 10.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001568/0.3641, allocations: 0.5859 MB / 0.5142 GB, free: 10.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,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.0003689/0.3645, allocations: 226.8 kB / 0.5145 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.3683, allocations: 2.611 MB / 0.517 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3683, allocations: 4.938 kB / 0.517 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002391/0.3707, allocations: 1.607 MB / 0.5186 GB, free: 5.762 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.3725, allocations: 499.5 kB / 0.5191 GB, free: 5.277 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00755/0.3801, allocations: 5.647 MB / 0.5246 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.3816, allocations: 2.116 MB / 0.5266 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/0.3822, allocations: 151.4 kB / 0.5268 GB, free: 13.26 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3822, allocations: 0 / 0.5268 GB, free: 13.26 MB / 462.1 MB Notification: Performance of Templates: time 0.2159/0.5981, allocations: 76.12 MB / 0.6011 GB, free: 71.5 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches