Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009786/0.0009786, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009991/0.0009991, allocations: 160.2 kB / 24.91 MB, free: 8.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9285/0.9285, allocations: 177 MB / 205.2 MB, free: 5.129 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 273.4 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.979e-05, allocations: 2.312 kB / 273.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01353/0.01355, allocations: 16.76 MB / 290.2 MB, free: 128 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.118/0.1316, allocations: 6.087 MB / 296.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.1347, allocations: 145.2 kB / 296.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003716/0.1384, allocations: 1.412 MB / 297.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00641/0.1449, allocations: 1.883 MB / 299.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.1482, allocations: 1.081 MB / 300.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008815/0.157, allocations: 6.679 MB / 307.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005515/0.1625, allocations: 2.838 MB / 310.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00562/0.1681, allocations: 4.612 MB / 314.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.1705, allocations: 3.213 MB / 318.2 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004671/0.1709, allocations: 0.7812 MB / 318.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.1721, allocations: 1.08 MB / 320 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007824/0.1729, allocations: 1.948 MB / 322 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.1744, allocations: 2.314 MB / 324.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.1787, allocations: 5.553 MB / 329.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1787, allocations: 0 / 329.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1787, allocations: 3.938 kB / 329.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.744e-05/0.1788, allocations: 4 kB / 329.8 MB, free: 8.199 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.006693/0.1855, allocations: 6.316 MB / 336.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1855, allocations: 15.98 kB / 336.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.1887, allocations: 1.454 MB / 337.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.1913, allocations: 2.206 MB / 339.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.1915, allocations: 362.9 kB / 340.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/0.1919, allocations: 493.1 kB / 340.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.1956, allocations: 3.849 MB / 344.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.928e-05/0.1957, allocations: 7.938 kB / 344.5 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/0.196, allocations: 196.7 kB / 344.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003265/0.1963, allocations: 249.9 kB / 345 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.1994, allocations: 1.47 MB / 346.4 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.2155, allocations: 12.61 MB / 359 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003885/0.2194, allocations: 2.507 MB / 361.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.2211, allocations: 0.9428 MB / 362.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00751/0.2286, allocations: 2.916 MB / 365.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.2286, allocations: 56.56 kB / 365.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of pre-optimization done (n=219): time 4.338e-06/0.2286, allocations: 0 / 365.5 MB, free: 5.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=226): time 0.01021/0.2388, allocations: 3.966 MB / 369.4 MB, free: 1.082 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.2389, allocations: 77.41 kB / 369.5 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/0.2414, allocations: 1.796 MB / 371.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.2416, allocations: 73.64 kB / 371.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.2427, allocations: 1.872 MB / 373.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006228/0.2433, allocations: 0.79 MB / 374 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006743/0.244, allocations: 445 kB / 374.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.2441, allocations: 301.1 kB / 374.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/0.2448, allocations: 308.6 kB / 375.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/0.2458, allocations: 0.9104 MB / 376 MB, free: 10.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.2477, allocations: 1.479 MB / 377.5 MB, free: 8.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.2477, allocations: 4 kB / 377.5 MB, free: 8.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.003438/0.2512, allocations: 1.692 MB / 379.1 MB, free: 6.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.2512, allocations: 19.94 kB / 379.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.2512, allocations: 16 kB / 379.2 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.253, allocations: 0.578 MB / 379.8 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/0.2554, allocations: 0.663 MB / 380.4 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00691/0.2623, allocations: 7.354 MB / 387.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.2644, allocations: 91.88 kB / 387.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.2646, allocations: 83.92 kB / 388 MB, free: 13.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,77.8%), (1,8,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.001464/0.2661, allocations: 276 kB / 388.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005805/0.2666, allocations: 255.7 kB / 388.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.269, allocations: 1.559 MB / 390 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.269, allocations: 27.94 kB / 390.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.269, allocations: 8 kB / 390.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.2691, allocations: 15.95 kB / 390.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004998/0.2741, allocations: 3.616 MB / 393.7 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2741, allocations: 4 kB / 393.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.2752, allocations: 0.5013 MB / 394.2 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.2765, allocations: 0.7172 MB / 394.9 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003408/0.2769, allocations: 59.98 kB / 395 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006323/0.2832, allocations: 10.9 MB / 405.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2832, allocations: 8.062 kB / 405.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.2855, allocations: 2.067 MB / 408 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000763/0.2862, allocations: 334 kB / 408.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/0.2867, allocations: 52 kB / 408.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008585/0.2876, allocations: 95.94 kB / 408.4 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/0.2879, allocations: 177.5 kB / 408.6 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.288, allocations: 43.98 kB / 408.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009688/0.289, allocations: 0.9196 MB / 409.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.289, allocations: 0 / 409.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002183/0.2912, allocations: 0.9335 MB / 410.5 MB, free: 6.258 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007762/0.292, allocations: 264.8 kB / 410.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.2942, allocations: 1.908 MB / 412.7 MB, free: 4.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.076e-05/0.2942, allocations: 29.81 kB / 412.7 MB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.2958, allocations: 1.699 MB / 414.4 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.2976, allocations: 0.7552 MB / 415.1 MB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.3083, allocations: 7.747 MB / 422.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.3093, allocations: 1.066 MB / 424 MB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.3105, allocations: 372.4 kB / 424.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.3117, allocations: 0.6786 MB / 425 MB, free: 7.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3117, allocations: 0 / 425 MB, free: 7.5 MB / 378.7 MB Notification: Performance of Templates: time 0.1641/0.4759, allocations: 46.76 MB / 471.8 MB, free: 81.84 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.358613232150674]