Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 110.8 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.758/1.758, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 39.56 kB / 300.6 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1983, allocations: 49.46 MB / 350.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.02117/0.2195, allocations: 9.326 MB / 359.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.2306, allocations: 2.952 MB / 362.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.2335, allocations: 43.81 kB / 362.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.2379, allocations: 0.5516 MB / 362.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.2441, allocations: 0.7033 MB / 363.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.2461, allocations: 311.7 kB / 363.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007677/0.2538, allocations: 3.075 MB / 367 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004742/0.2586, allocations: 1.818 MB / 368.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.2618, allocations: 1.027 MB / 369.9 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3782/0.6401, allocations: 1.433 MB / 371.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001938/0.6421, allocations: 191.4 kB / 371.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.6449, allocations: 288.3 kB / 371.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002954/0.6479, allocations: 0.7564 MB / 372.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005833/0.6538, allocations: 1.276 MB / 373.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009028/0.6628, allocations: 3.355 MB / 377.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.6629, allocations: 1.375 kB / 377.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6629, allocations: 0 / 377.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002311/0.6632, allocations: 0.5312 kB / 377.2 MB, free: 11.8 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0162/0.6794, allocations: 2.848 MB / 380 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.375e-05/0.6795, allocations: 9.125 kB / 380 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.6824, allocations: 296.7 kB / 380.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006697/0.6891, allocations: 1.485 MB / 381.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.6895, allocations: 153.7 kB / 381.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001577/0.6911, allocations: 203.9 kB / 382.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/0.7051, allocations: 2.74 MB / 384.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/0.7054, allocations: 3.281 kB / 384.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/0.7067, allocations: 81.84 kB / 385 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002731/0.707, allocations: 92.22 kB / 385.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009927/0.7169, allocations: 2.335 MB / 387.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02732/0.7443, allocations: 8.404 MB / 395.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/0.7482, allocations: 1.792 MB / 397.6 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.7512, allocations: 1.054 MB / 398.6 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.7516, allocations: 129.4 kB / 398.8 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.7517, allocations: 43.5 kB / 398.8 MB, free: 56 kB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 5.5e-06/0.7517, allocations: 0 / 398.8 MB, free: 56 kB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.0249/0.7766, allocations: 6.191 MB / 405 MB, free: 11.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.7769, allocations: 68.39 kB / 405.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00548/0.7824, allocations: 1.516 MB / 406.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004692/0.7829, allocations: 45.7 kB / 406.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.7843, allocations: 0.9859 MB / 407.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009901/0.7854, allocations: 415.7 kB / 408 MB, free: 8.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.7865, allocations: 255.4 kB / 408.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002763/0.7868, allocations: 357.9 kB / 408.6 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.7891, allocations: 0.7339 MB / 409.3 MB, free: 7.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/0.7919, allocations: 1.062 MB / 410.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/0.797, allocations: 1.872 MB / 412.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.459e-05/0.7971, allocations: 4 kB / 412.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.008335/0.8054, allocations: 2.351 MB / 414.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.8055, allocations: 11.98 kB / 414.6 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/0.8056, allocations: 11.94 kB / 414.7 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/0.8075, allocations: 415.4 kB / 415.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/0.8101, allocations: 320.6 kB / 415.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008578/0.8187, allocations: 4.656 MB / 420 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.8216, allocations: 91.91 kB / 420.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004729/0.8221, allocations: 55.97 kB / 420.2 MB, free: 12.17 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002851/0.825, allocations: 0.7062 MB / 420.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009908/0.826, allocations: 170 kB / 421.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006734/0.8327, allocations: 2.135 MB / 423.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.8328, allocations: 12 kB / 423.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/0.8328, allocations: 4 kB / 423.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.8329, allocations: 3.984 kB / 423.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.8488, allocations: 4.587 MB / 427.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/0.8489, allocations: 4 kB / 427.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.8505, allocations: 227.9 kB / 428 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/0.8524, allocations: 470.1 kB / 428.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/0.8527, allocations: 31.98 kB / 428.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.8635, allocations: 6.136 MB / 434.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.8635, allocations: 0 / 434.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.8738, allocations: 3.185 MB / 437.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/0.8758, allocations: 402.9 kB / 438.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009195/0.8767, allocations: 24 kB / 438.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/0.8788, allocations: 79.91 kB / 438.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005458/0.8793, allocations: 111.8 kB / 438.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/0.8796, allocations: 35.98 kB / 438.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00374/0.8833, allocations: 1.04 MB / 439.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.8834, allocations: 0 / 439.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004623/0.888, allocations: 468 kB / 440 MB, free: 7.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * 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 (104): * Single equations (assignments): 100 * 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 {(2,12,100.0%), (1,1,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.000882/0.8889, allocations: 189.3 kB / 440.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006889/0.8958, allocations: 2.267 MB / 442.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.8959, allocations: 0 / 442.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004295/0.9002, allocations: 1.483 MB / 443.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005003/0.9052, allocations: 422.9 kB / 444.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.922, allocations: 5.45 MB / 449.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003756/0.9259, allocations: 1.795 MB / 451.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.9271, allocations: 123.4 kB / 451.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.104e-06/0.9272, allocations: 0 / 451.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.1576/1.085, allocations: 69.85 MB / 0.5093 GB, free: 6.273 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches