Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001154/0.001154, allocations: 186.9 kB / 19.28 MB, free: 3.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07673/0.07795, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03557/0.1136, allocations: 38.35 MB / 367.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.1324, allocations: 10.02 MB / 377.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00571/0.1382, allocations: 247.1 kB / 377.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1586/0.2969, allocations: 10.17 MB / 387.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.3084, allocations: 4.087 MB / 391.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.3145, allocations: 2.416 MB / 394 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01728/0.3318, allocations: 16.54 MB / 410.6 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03982/0.3717, allocations: 31.18 MB / 441.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/0.3842, allocations: 8.531 MB / 450.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01569/0.3999, allocations: 9.433 MB / 459.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005469/0.4054, allocations: 2.426 MB / 462.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007758/0.4132, allocations: 2.818 MB / 465 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0053/0.4185, allocations: 4.866 MB / 469.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01212/0.4306, allocations: 9.283 MB / 479.1 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02726/0.4579, allocations: 32.12 MB / 0.4992 GB, free: 8.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4579, allocations: 0 / 0.4992 GB, free: 8.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.848e-06/0.458, allocations: 3.984 kB / 0.4992 GB, free: 8.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006395/0.4586, allocations: 3.938 kB / 0.4992 GB, free: 8.348 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.04983/0.5084, allocations: 18.85 MB / 0.5177 GB, free: 5.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5085, allocations: 8.031 kB / 0.5177 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05057/0.5591, allocations: 9.285 MB / 0.5267 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02035/0.5795, allocations: 9.192 MB / 0.5357 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.5805, allocations: 1.069 MB / 0.5367 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004697/0.5852, allocations: 1.415 MB / 0.5381 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3291/0.9143, allocations: 23.2 MB / 0.5608 GB, free: 127.5 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005524/0.9149, allocations: 20.41 kB / 0.5608 GB, free: 127.5 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003823/0.9187, allocations: 0.5839 MB / 0.5614 GB, free: 127 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006433/0.9194, allocations: 0.8052 MB / 0.5622 GB, free: 126.9 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03631/0.9557, allocations: 21.69 MB / 0.5834 GB, free: 115.6 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09653/1.052, allocations: 73.25 MB / 0.6549 GB, free: 41.66 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03074/1.083, allocations: 53.55 MB / 0.7072 GB, free: 13.84 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008592/1.092, allocations: 5.386 MB / 0.7124 GB, free: 8.434 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1824/1.274, allocations: 15.44 MB / 0.7275 GB, free: 149.8 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/1.274, allocations: 83.39 kB / 0.7276 GB, free: 149.7 MB / 478.2 MB Notification: Performance of pre-optimization done (n=498): time 6.742e-06/1.274, allocations: 2.375 kB / 0.7276 GB, free: 149.7 MB / 478.2 MB Notification: Performance of matching and sorting (n=506): time 0.05227/1.326, allocations: 26.94 MB / 0.7539 GB, free: 138.8 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/1.327, allocations: 132.6 kB / 0.754 GB, free: 138.7 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0077/1.334, allocations: 5.907 MB / 0.7598 GB, free: 136.5 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0007305/1.335, allocations: 108.9 kB / 0.7599 GB, free: 136.4 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.00278/1.338, allocations: 6.293 MB / 0.766 GB, free: 131.7 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.339, allocations: 1.732 MB / 0.7677 GB, free: 130.4 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002039/1.341, allocations: 1.527 MB / 0.7692 GB, free: 129.6 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/1.341, allocations: 305.1 kB / 0.7695 GB, free: 129.3 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004853/1.346, allocations: 3.687 MB / 0.7731 GB, free: 127.9 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006288/1.353, allocations: 6.77 MB / 0.7797 GB, free: 122.5 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.365, allocations: 11.14 MB / 0.7906 GB, free: 114.7 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.876e-05/1.365, allocations: 27.44 kB / 0.7906 GB, free: 114.7 MB / 478.2 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.0183/1.383, allocations: 12.4 MB / 0.8027 GB, free: 104.5 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/1.383, allocations: 52.09 kB / 0.8028 GB, free: 104.5 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/1.383, allocations: 107.9 kB / 0.8029 GB, free: 104.4 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/1.387, allocations: 1.603 MB / 0.8045 GB, free: 102.8 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006003/1.393, allocations: 1.751 MB / 0.8062 GB, free: 101 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/1.413, allocations: 19.62 MB / 0.8253 GB, free: 80.72 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006305/1.42, allocations: 439.3 kB / 0.8257 GB, free: 80.29 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/1.421, allocations: 392 kB / 0.8261 GB, free: 79.91 MB / 478.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[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 (904): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0101/1.431, allocations: 5.248 MB / 0.8312 GB, free: 74.64 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002153/1.434, allocations: 0.6058 MB / 0.8318 GB, free: 74.03 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/1.45, allocations: 9.369 MB / 0.841 GB, free: 64.59 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008105/1.458, allocations: 5.88 MB / 0.8467 GB, free: 58.68 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-05/1.458, allocations: 19.94 kB / 0.8468 GB, free: 58.66 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.349e-05/1.458, allocations: 31.89 kB / 0.8468 GB, free: 58.63 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03787/1.496, allocations: 21.08 MB / 0.8674 GB, free: 37.45 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/1.496, allocations: 8 kB / 0.8674 GB, free: 37.45 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003691/1.5, allocations: 0.8627 MB / 0.8682 GB, free: 36.58 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004277/1.504, allocations: 1.641 MB / 0.8698 GB, free: 34.92 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005798/1.504, allocations: 124 kB / 0.8699 GB, free: 34.8 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.211/1.715, allocations: 23.2 MB / 0.8926 GB, free: 134 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.433e-06/1.715, allocations: 14.09 kB / 0.8926 GB, free: 134 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02176/1.737, allocations: 13.73 MB / 0.906 GB, free: 131 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004147/1.741, allocations: 1.363 MB / 0.9073 GB, free: 130.5 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.743, allocations: 104.1 kB / 0.9074 GB, free: 130.4 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00303/1.746, allocations: 290.9 kB / 0.9077 GB, free: 130.3 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009131/1.747, allocations: 406.9 kB / 0.9081 GB, free: 130.3 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003539/1.747, allocations: 155.5 kB / 0.9083 GB, free: 130.2 MB / 478.2 MB Notification: Performance of sorting global known variables: time 0.00548/1.752, allocations: 3.964 MB / 0.9121 GB, free: 128.8 MB / 478.2 MB Notification: Performance of sort global known variables: time 7.41e-07/1.752, allocations: 2.906 kB / 0.9121 GB, free: 128.8 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.007791/1.76, allocations: 2.374 MB / 0.9144 GB, free: 128.6 MB / 478.2 MB 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 (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,13,100.0%), (1,5,100.0%), (1,8,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.0007358/1.761, allocations: 319.9 kB / 0.9147 GB, free: 128.4 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.01361/1.775, allocations: 10.01 MB / 0.9245 GB, free: 124.2 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.775, allocations: 2.969 kB / 0.9245 GB, free: 124.2 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.007656/1.782, allocations: 5.463 MB / 0.9299 GB, free: 121.6 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006893/1.789, allocations: 1.642 MB / 0.9315 GB, free: 121 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04324/1.833, allocations: 24.93 MB / 0.9558 GB, free: 108 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009731/1.842, allocations: 8.931 MB / 0.9645 GB, free: 101.1 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.006451/1.849, allocations: 2.599 MB / 0.9671 GB, free: 99.36 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.85, allocations: 464.7 kB / 0.9675 GB, free: 98.93 MB / 478.2 MB Notification: Performance of SimCode: time 8.12e-07/1.85, allocations: 0 / 0.9675 GB, free: 98.93 MB / 478.2 MB Notification: Performance of Templates: time 0.1488/1.999, allocations: 94.77 MB / 1.06 GB, free: 5.812 MB / 478.2 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches