Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 199.7 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007424/0.0007424, allocations: 99.47 kB / 299.9 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002254/0.0002254, allocations: 4 kB / 360.7 MB, free: 8.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.225, allocations: 51.41 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02748/0.2525, allocations: 34.25 MB / 446.3 MB, free: 7.523 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02301/0.2756, allocations: 12.51 MB / 458.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007883/0.2835, allocations: 267.1 kB / 459.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007799/0.2913, allocations: 2.473 MB / 461.6 MB, free: 7.613 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01464/0.306, allocations: 4.574 MB / 466.1 MB, free: 2.801 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008631/0.3147, allocations: 2.729 MB / 468.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02312/0.3378, allocations: 16.87 MB / 485.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4126/0.7504, allocations: 36.35 MB / 0.5099 GB, free: 27.46 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01049/0.761, allocations: 6.093 MB / 0.5158 GB, free: 26.86 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.7722, allocations: 7.208 MB / 0.5228 GB, free: 25.37 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004078/0.7763, allocations: 0.9374 MB / 0.5238 GB, free: 25.37 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006268/0.7826, allocations: 1.342 MB / 0.5251 GB, free: 25.36 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004829/0.7874, allocations: 3.031 MB / 0.528 GB, free: 24.84 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01232/0.7998, allocations: 7.277 MB / 0.5351 GB, free: 22.69 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02822/0.828, allocations: 30.16 MB / 0.5646 GB, free: 4.211 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.8281, allocations: 0 / 0.5646 GB, free: 4.211 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.215e-06/0.8281, allocations: 3.938 kB / 0.5646 GB, free: 4.207 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0009296/0.829, allocations: 0 / 0.5646 GB, free: 4.207 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.04179/0.8708, allocations: 15.64 MB / 0.5799 GB, free: 6.141 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.8709, allocations: 8.031 kB / 0.5799 GB, free: 6.133 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04363/0.9145, allocations: 8.331 MB / 0.588 GB, free: 14.39 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02227/0.9368, allocations: 9.917 MB / 0.5977 GB, free: 8.52 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001363/0.9382, allocations: 1.068 MB / 0.5987 GB, free: 7.914 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006089/0.9443, allocations: 1.403 MB / 0.6001 GB, free: 6.977 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06327/1.008, allocations: 22.66 MB / 0.6222 GB, free: 0.8047 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008442/1.009, allocations: 15.81 kB / 0.6223 GB, free: 0.7891 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005925/1.014, allocations: 0.5805 MB / 0.6228 GB, free: 228 kB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00108/1.016, allocations: 0.7764 MB / 0.6236 GB, free: 15.45 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05096/1.067, allocations: 20.93 MB / 0.644 GB, free: 10.5 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3235/1.39, allocations: 73.77 MB / 0.7161 GB, free: 123.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02325/1.413, allocations: 42.69 MB / 0.7578 GB, free: 82.91 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007559/1.421, allocations: 5.283 MB / 0.7629 GB, free: 80.19 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01862/1.44, allocations: 13.11 MB / 0.7757 GB, free: 71.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/1.44, allocations: 93.28 kB / 0.7758 GB, free: 71.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=504): time 7.283e-06/1.44, allocations: 0 / 0.7758 GB, free: 71.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=512): time 0.04505/1.485, allocations: 26.75 MB / 0.8019 GB, free: 46.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.485, allocations: 133.4 kB / 0.8021 GB, free: 45.88 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00618/1.491, allocations: 5.721 MB / 0.8077 GB, free: 40.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004024/1.492, allocations: 113.7 kB / 0.8078 GB, free: 40.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002271/1.494, allocations: 6.144 MB / 0.8138 GB, free: 33.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/1.495, allocations: 1.753 MB / 0.8155 GB, free: 32.15 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/1.495, allocations: 151.9 kB / 0.8156 GB, free: 32 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002871/1.496, allocations: 0.6084 MB / 0.8162 GB, free: 31.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004286/1.5, allocations: 3.649 MB / 0.8198 GB, free: 27.73 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00516/1.505, allocations: 6.502 MB / 0.8261 GB, free: 19.93 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.517, allocations: 10.82 MB / 0.8367 GB, free: 7.793 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.796e-05/1.517, allocations: 28 kB / 0.8367 GB, free: 7.766 MB / 490.8 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.01915/1.536, allocations: 12.13 MB / 0.8486 GB, free: 11.57 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/1.536, allocations: 44 kB / 0.8486 GB, free: 11.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/1.536, allocations: 95.94 kB / 0.8487 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004267/1.54, allocations: 1.595 MB / 0.8503 GB, free: 9.82 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005839/1.546, allocations: 1.665 MB / 0.8519 GB, free: 8.152 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2032/1.749, allocations: 18.2 MB / 0.8696 GB, free: 155.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/1.755, allocations: 428.4 kB / 0.8701 GB, free: 155 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007111/1.756, allocations: 365.7 kB / 0.8704 GB, free: 154.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,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 initialization (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 5 systems {(1,1,100.0%), (12,64,54.2%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007672/1.763, allocations: 5.193 MB / 0.8755 GB, free: 152.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.764, allocations: 0.603 MB / 0.8761 GB, free: 152.5 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.777, allocations: 9.438 MB / 0.8853 GB, free: 148.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007897/1.785, allocations: 5.935 MB / 0.8911 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.933e-05/1.785, allocations: 19.59 kB / 0.8911 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-05/1.785, allocations: 26.77 kB / 0.8911 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02775/1.813, allocations: 21.13 MB / 0.9118 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/1.813, allocations: 3.812 kB / 0.9118 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/1.817, allocations: 0.8713 MB / 0.9126 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004108/1.821, allocations: 1.64 MB / 0.9142 GB, free: 135.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004214/1.821, allocations: 120 kB / 0.9143 GB, free: 135.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/1.84, allocations: 21.34 MB / 0.9352 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.84, allocations: 8 kB / 0.9352 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/1.859, allocations: 13.84 MB / 0.9487 GB, free: 99.74 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003123/1.862, allocations: 1.365 MB / 0.95 GB, free: 98.62 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/1.863, allocations: 111.9 kB / 0.9501 GB, free: 98.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/1.866, allocations: 303.6 kB / 0.9504 GB, free: 98.21 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009096/1.867, allocations: 404.5 kB / 0.9508 GB, free: 97.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003355/1.868, allocations: 156 kB / 0.9509 GB, free: 97.66 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005436/1.873, allocations: 3.849 MB / 0.9547 GB, free: 93.84 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.81e-07/1.873, allocations: 0 / 0.9547 GB, free: 93.84 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008315/1.881, allocations: 2.341 MB / 0.957 GB, free: 91.51 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/1.883, allocations: 332 kB / 0.9573 GB, free: 91.19 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01354/1.896, allocations: 9.906 MB / 0.967 GB, free: 81.18 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.896, allocations: 3.906 kB / 0.967 GB, free: 81.18 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007303/1.903, allocations: 5.485 MB / 0.9723 GB, free: 75.62 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01315/1.917, allocations: 1.558 MB / 0.9739 GB, free: 74.06 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03909/1.956, allocations: 31.1 MB / 1.004 GB, free: 42.84 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009441/1.965, allocations: 8.862 MB / 1.013 GB, free: 33.94 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.007409/1.973, allocations: 2.527 MB / 1.015 GB, free: 31.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.974, allocations: 459.4 kB / 1.016 GB, free: 30.95 MB / 0.4949 GB Notification: Performance of SimCode: time 1.322e-06/1.974, allocations: 0 / 1.016 GB, free: 30.95 MB / 0.4949 GB Notification: Performance of Templates: time 0.3462/2.32, allocations: 97.66 MB / 1.111 GB, free: 103.5 MB / 0.4949 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches