Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 64.19 kB / 307.1 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.113, allocations: 50.54 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01212/0.1252, allocations: 9.685 MB / 367.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006524/0.1317, allocations: 3.054 MB / 370.4 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.1337, allocations: 43.81 kB / 370.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.1359, allocations: 0.5594 MB / 371 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.1388, allocations: 0.6682 MB / 371.7 MB, free: 324 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1932/0.332, allocations: 328.1 kB / 372 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.3362, allocations: 2.43 MB / 374.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.3388, allocations: 1.745 MB / 376.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.3411, allocations: 1.096 MB / 377.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.3436, allocations: 1.342 MB / 378.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006602/0.3443, allocations: 282.5 kB / 378.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.3456, allocations: 376.5 kB / 379.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007959/0.3464, allocations: 0.7755 MB / 380 MB, free: 10 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.3482, allocations: 1.272 MB / 381.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004086/0.3523, allocations: 3.038 MB / 384.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3523, allocations: 0 / 384.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3523, allocations: 1.312 kB / 384.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001213/0.3525, allocations: 0 / 384.4 MB, free: 8.375 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006726/0.3592, allocations: 2.588 MB / 386.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3593, allocations: 13.75 kB / 387 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.3603, allocations: 276.4 kB / 387.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.3626, allocations: 1.313 MB / 388.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.3628, allocations: 142.3 kB / 388.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/0.3631, allocations: 192 kB / 388.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004282/0.3674, allocations: 2.427 MB / 391.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/0.3675, allocations: 10.66 kB / 391.3 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.3677, allocations: 88.09 kB / 391.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.881e-05/0.3678, allocations: 83.31 kB / 391.5 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.371, allocations: 1.968 MB / 393.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.3837, allocations: 7.845 MB / 401.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.3855, allocations: 1.232 MB / 402.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.3873, allocations: 0.9383 MB / 403.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.3876, allocations: 125.2 kB / 403.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.3876, allocations: 43.56 kB / 403.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.176e-06/0.3876, allocations: 0 / 403.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.0138/0.4014, allocations: 5.876 MB / 409.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.4015, allocations: 64.41 kB / 409.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.4037, allocations: 1.314 MB / 410.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.4039, allocations: 45.7 kB / 410.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.4047, allocations: 0.915 MB / 411.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.4051, allocations: 392.5 kB / 412.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004152/0.4055, allocations: 247.5 kB / 412.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.4057, allocations: 365.9 kB / 412.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.4068, allocations: 0.6364 MB / 413.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.4081, allocations: 1.004 MB / 414.5 MB, free: 428 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.4106, allocations: 1.736 MB / 416.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.4106, allocations: 4 kB / 416.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004126/0.4148, allocations: 2.245 MB / 418.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.4148, allocations: 12 kB / 418.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.4149, allocations: 12 kB / 418.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.4162, allocations: 0.4884 MB / 418.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4173, allocations: 303.5 kB / 419.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007848/0.4252, allocations: 7.135 MB / 426.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.4268, allocations: 87.91 kB / 426.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.4269, allocations: 52 kB / 426.5 MB, free: 3.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001343/0.4282, allocations: 0.6027 MB / 427.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.4286, allocations: 150.3 kB / 427.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/0.4323, allocations: 1.972 MB / 429.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.4323, allocations: 8 kB / 429.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.4323, allocations: 8 kB / 429.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4323, allocations: 3.984 kB / 429.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00752/0.4398, allocations: 4.136 MB / 433.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4399, allocations: 4 kB / 433.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/0.4407, allocations: 192 kB / 433.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.4423, allocations: 0.5417 MB / 434.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-05/0.4424, allocations: 35.92 kB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009438/0.4519, allocations: 8.763 MB / 442.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4519, allocations: 4 kB / 442.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/0.457, allocations: 2.849 MB / 445.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009844/0.458, allocations: 359.2 kB / 446.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.4582, allocations: 28 kB / 446.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008065/0.459, allocations: 67.92 kB / 446.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.4593, allocations: 92.84 kB / 446.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/0.4594, allocations: 27.98 kB / 446.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.4608, allocations: 0.8997 MB / 447.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4608, allocations: 0 / 447.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001735/0.4626, allocations: 444 kB / 447.7 MB, free: 13.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0004173/0.463, allocations: 179 kB / 447.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004601/0.4676, allocations: 2.564 MB / 450.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.4677, allocations: 7.938 kB / 450.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.47, allocations: 1.51 MB / 451.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.4723, allocations: 415.5 kB / 452.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/0.4804, allocations: 5.018 MB / 457.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.482, allocations: 1.642 MB / 459 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.4825, allocations: 111.4 kB / 459.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of SimCode: time 1.153e-06/0.4825, allocations: 0 / 459.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of Templates: time 0.09059/0.5731, allocations: 70.88 MB / 0.5176 GB, free: 11.31 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches