Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 110.4 kB / 17.16 MB, free: 6.082 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.002146/0.002146, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.461/2.461, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.001801, allocations: 47.84 kB / 300.6 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.186, allocations: 49.44 MB / 350.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.02543/0.2115, allocations: 11.71 MB / 361.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.2264, allocations: 3.704 MB / 365.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004203/0.2307, allocations: 71.69 kB / 365.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005739/0.2366, allocations: 0.7498 MB / 366.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008293/0.245, allocations: 1.003 MB / 367.3 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.2486, allocations: 431.6 kB / 367.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3768/0.6254, allocations: 4.874 MB / 372.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007731/0.6332, allocations: 2.739 MB / 375.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00693/0.6402, allocations: 1.619 MB / 377 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009818/0.6501, allocations: 2.237 MB / 379.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003307/0.6535, allocations: 299.8 kB / 379.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004962/0.6585, allocations: 403.1 kB / 379.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004872/0.6634, allocations: 1.177 MB / 381.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01108/0.6746, allocations: 1.989 MB / 383 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.6869, allocations: 5.413 MB / 388.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.6869, allocations: 0 / 388.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6869, allocations: 4 kB / 388.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003126/0.6873, allocations: 0 / 388.5 MB, free: 6.641 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.02576/0.713, allocations: 4.296 MB / 392.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.174e-05/0.7132, allocations: 10.5 kB / 392.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004318/0.7175, allocations: 442.6 kB / 393.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.7289, allocations: 2.326 MB / 395.5 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004585/0.7294, allocations: 226.8 kB / 395.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002231/0.7317, allocations: 309.2 kB / 396 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02046/0.7521, allocations: 4.371 MB / 400.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001895/0.7524, allocations: 13.98 kB / 400.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001411/0.7538, allocations: 133.9 kB / 400.6 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/0.7541, allocations: 128 kB / 400.7 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.7718, allocations: 3.778 MB / 404.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06084/0.8326, allocations: 13.53 MB / 418 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008706/0.8414, allocations: 2.88 MB / 420.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00626/0.8477, allocations: 1.698 MB / 422.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005568/0.8484, allocations: 126.4 kB / 422.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.44e-05/0.8485, allocations: 47.88 kB / 422.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 7.504e-06/0.8485, allocations: 0 / 422.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.04324/0.8918, allocations: 8.985 MB / 431.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.8919, allocations: 71.56 kB / 431.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/0.9022, allocations: 2.353 MB / 434.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008447/0.9032, allocations: 53.7 kB / 434.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002562/0.9058, allocations: 1.476 MB / 435.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001664/0.9075, allocations: 0.6025 MB / 436.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002369/0.9099, allocations: 363.3 kB / 436.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.9101, allocations: 313 kB / 436.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/0.9144, allocations: 1.12 MB / 438.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004625/0.9191, allocations: 1.569 MB / 439.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008673/0.9278, allocations: 2.784 MB / 442.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/0.9278, allocations: 4 kB / 442.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01403/0.9419, allocations: 3.593 MB / 446 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.942, allocations: 12 kB / 446 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-05/0.9421, allocations: 19.92 kB / 446 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004045/0.9461, allocations: 0.7984 MB / 446.8 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003744/0.9499, allocations: 462.6 kB / 447.3 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/0.9701, allocations: 10.28 MB / 457.6 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004908/0.9751, allocations: 123.8 kB / 457.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009826/0.9761, allocations: 76 kB / 457.8 MB, free: 4.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005873/0.982, allocations: 1.088 MB / 458.9 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001758/0.9838, allocations: 245 kB / 459.1 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/0.9966, allocations: 3.303 MB / 462.4 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-05/0.9968, allocations: 20 kB / 462.4 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-05/0.9968, allocations: 7.938 kB / 462.4 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.83e-05/0.9969, allocations: 7.969 kB / 462.4 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/1.023, allocations: 6.894 MB / 469.3 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/1.024, allocations: 0 / 469.3 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/1.026, allocations: 297.1 kB / 469.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004844/1.031, allocations: 0.932 MB / 470.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003918/1.032, allocations: 43.98 kB / 470.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/1.056, allocations: 13.46 MB / 484 MB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/1.056, allocations: 7.969 kB / 484.1 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/1.073, allocations: 4.859 MB / 488.9 MB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003314/1.076, allocations: 0.5644 MB / 489.5 MB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/1.078, allocations: 36 kB / 489.5 MB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/1.081, allocations: 131.8 kB / 489.6 MB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007386/1.082, allocations: 153.3 kB / 489.8 MB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/1.082, allocations: 44 kB / 489.8 MB, free: 3.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.006178/1.089, allocations: 1.625 MB / 491.5 MB, free: 2.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.357e-06/1.089, allocations: 4 kB / 491.5 MB, free: 2.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005958/1.095, allocations: 0.7109 MB / 492.2 MB, free: 1.531 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.001033/1.096, allocations: 218.1 kB / 492.4 MB, free: 1.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01126/1.107, allocations: 3.574 MB / 496 MB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/1.107, allocations: 4 kB / 496 MB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007405/1.115, allocations: 2.507 MB / 498.5 MB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008911/1.123, allocations: 0.6777 MB / 499.2 MB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/1.151, allocations: 8.176 MB / 0.4954 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005431/1.157, allocations: 2.47 MB / 0.4978 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/1.158, allocations: 167.4 kB / 0.498 GB, free: 15.49 MB / 430.1 MB Notification: Performance of SimCode: time 1.203e-06/1.159, allocations: 4 kB / 0.498 GB, free: 15.48 MB / 430.1 MB Notification: Performance of Templates: time 0.5389/1.697, allocations: 167.5 MB / 0.6616 GB, free: 31.47 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches