Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001218/0.001218, allocations: 187 kB / 19.33 MB, free: 3.758 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.338/1.338, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001277/0.001277, allocations: 47.92 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07089/0.07217, allocations: 46.61 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.1695/0.2417, allocations: 19.47 MB / 395.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.252, allocations: 5.69 MB / 401 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.2544, allocations: 104.8 kB / 401.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.2576, allocations: 1.298 MB / 402.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.2626, allocations: 1.889 MB / 404.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.2652, allocations: 1.187 MB / 405.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006808/0.272, allocations: 6.431 MB / 411.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005742/0.2777, allocations: 5.337 MB / 417.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.2818, allocations: 2.978 MB / 420.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00403/0.2858, allocations: 3.468 MB / 423.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009756/0.2868, allocations: 0.8046 MB / 424.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.2887, allocations: 1.074 MB / 425.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001599/0.2903, allocations: 1.983 MB / 427.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003394/0.2937, allocations: 3.435 MB / 431 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009014/0.3028, allocations: 10.6 MB / 441.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3028, allocations: 3.938 kB / 441.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3028, allocations: 0 / 441.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001124/0.3029, allocations: 0 / 441.6 MB, free: 13.67 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01349/0.3164, allocations: 6.691 MB / 448.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3165, allocations: 12.02 kB / 448.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004825/0.3213, allocations: 1.067 MB / 449.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005595/0.3269, allocations: 3.475 MB / 452.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.3272, allocations: 390.6 kB / 453.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007079/0.3279, allocations: 0.5041 MB / 453.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.3388, allocations: 6.957 MB / 460.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.339, allocations: 7.906 kB / 460.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004629/0.3394, allocations: 211.9 kB / 460.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/0.3396, allocations: 234.2 kB / 461.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009227/0.3489, allocations: 5.927 MB / 467.1 MB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0286/0.3775, allocations: 21.1 MB / 488.2 MB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008003/0.3855, allocations: 8.698 MB / 496.9 MB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003811/0.3893, allocations: 2.365 MB / 499.2 MB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.3996, allocations: 6.124 MB / 0.4935 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.3997, allocations: 56.56 kB / 0.4936 GB, free: 12.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=219): time 3.536e-06/0.3997, allocations: 0 / 0.4936 GB, free: 12.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=238): time 0.02212/0.4218, allocations: 11.29 MB / 0.5046 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.4219, allocations: 77.41 kB / 0.5047 GB, free: 480 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/0.4259, allocations: 2.99 MB / 0.5076 GB, free: 13.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.4261, allocations: 73.64 kB / 0.5076 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.4276, allocations: 2.304 MB / 0.5099 GB, free: 11.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006036/0.4282, allocations: 0.8048 MB / 0.5107 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000782/0.429, allocations: 0.5097 MB / 0.5112 GB, free: 9.723 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.4291, allocations: 301.1 kB / 0.5115 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.4312, allocations: 1.356 MB / 0.5128 GB, free: 8.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.4338, allocations: 2.139 MB / 0.5149 GB, free: 5.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004744/0.4386, allocations: 3.693 MB / 0.5185 GB, free: 1.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.4386, allocations: 8 kB / 0.5185 GB, free: 1.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.007207/0.4458, allocations: 4.659 MB / 0.523 GB, free: 12.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.4458, allocations: 12 kB / 0.5231 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.4459, allocations: 24 kB / 0.5231 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/0.4476, allocations: 0.7701 MB / 0.5238 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.45, allocations: 0.6318 MB / 0.5244 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.4627, allocations: 14.52 MB / 0.5386 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.4646, allocations: 163.8 kB / 0.5388 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.4648, allocations: 120 kB / 0.5389 GB, free: 11.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(2,100.0%), (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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002391/0.4672, allocations: 1.602 MB / 0.5405 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/0.4677, allocations: 320.1 kB / 0.5408 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006857/0.4746, allocations: 4.21 MB / 0.5449 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.4746, allocations: 11.95 kB / 0.5449 GB, free: 5.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4746, allocations: 0 / 0.5449 GB, free: 5.285 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.4758, allocations: 0.6884 MB / 0.5456 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/0.4763, allocations: 52 kB / 0.5456 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.4777, allocations: 139.8 kB / 0.5457 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/0.4781, allocations: 205.6 kB / 0.5459 GB, free: 4.184 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1677/0.6459, allocations: 4.157 MB / 0.55 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007481/0.6534, allocations: 5.002 MB / 0.5549 GB, free: 145.8 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001881/0.6553, allocations: 1.453 MB / 0.5563 GB, free: 145.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002922/0.6582, allocations: 2.041 MB / 0.5583 GB, free: 144.5 MB / 478.1 MB Notification: Performance of Backend: time 5.71e-07/0.6582, allocations: 1.125 kB / 0.5583 GB, free: 144.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005937/0.6642, allocations: 3.658 MB / 0.5619 GB, free: 142.5 MB / 478.1 MB Notification: Performance of SimCode: time 0.01406/0.6782, allocations: 10.21 MB / 0.5718 GB, free: 137.6 MB / 478.1 MB Notification: Performance of Templates: time 0.07321/0.7515, allocations: 56.01 MB / 0.6265 GB, free: 94.43 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_DOL/AIMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches