Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 167 kB / 25.7 MB, free: 8.402 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9339/0.9339, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.[0-9,]+.|smpmE.idq_dr.[0-9,]+.|smpmE.idq_rr.[0-9,]+.|smpmE.idq_sr.[0-9,]+.|smpmM.is.[0-9,]+.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.[0-9,]+.|smpmE.idq_dr.[0-9,]+.|smpmE.idq_rr.[0-9,]+.|smpmE.idq_sr.[0-9,]+.|smpmM.is.[0-9,]+.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.425e-05, allocations: 10.25 kB / 251.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter): time 0.01854/0.01857, allocations: 20.71 MB / 272.3 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.02876, allocations: 6.622 MB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.03036, allocations: 154.9 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.03247, allocations: 1.533 MB / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.03544, allocations: 2.15 MB / 282.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.03713, allocations: 1.313 MB / 284.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004678/0.04181, allocations: 6.808 MB / 290.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002626/0.04443, allocations: 3.041 MB / 293.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.04838, allocations: 4.877 MB / 298.8 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.05127, allocations: 3.211 MB / 302 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008024/0.05207, allocations: 0.8008 MB / 302.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.05337, allocations: 1.081 MB / 303.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.05451, allocations: 2.053 MB / 306 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.05651, allocations: 2.397 MB / 308.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.06159, allocations: 5.599 MB / 314 MB, free: 8.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.06159, allocations: 0 / 314 MB, free: 8.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0616, allocations: 0 / 314 MB, free: 8.512 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.06171, allocations: 0 / 314 MB, free: 8.512 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.007366/0.06907, allocations: 6.607 MB / 320.6 MB, free: 1.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.06911, allocations: 11.98 kB / 320.6 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.07202, allocations: 1.476 MB / 322 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.07486, allocations: 2.225 MB / 324.3 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.07505, allocations: 403.1 kB / 324.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/0.07552, allocations: 0.5354 MB / 325.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.07963, allocations: 4.039 MB / 329.2 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.134e-05/0.07972, allocations: 11.94 kB / 329.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.08001, allocations: 220 kB / 329.5 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.08017, allocations: 266.6 kB / 329.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.08239, allocations: 1.605 MB / 331.3 MB, free: 6.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.09617, allocations: 14.17 MB / 345.5 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.0991, allocations: 2.322 MB / 347.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000883/0.09998, allocations: 0.8162 MB / 348.6 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003947/0.1039, allocations: 2.885 MB / 351.5 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.104, allocations: 60.5 kB / 351.6 MB, free: 1.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=219): time 4.799e-06/0.104, allocations: 4 kB / 351.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=239): time 0.1317/0.2357, allocations: 4.608 MB / 356.2 MB, free: 73.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2357, allocations: 81.91 kB / 356.3 MB, free: 73.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.2374, allocations: 2.041 MB / 358.3 MB, free: 73.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-05/0.2375, allocations: 63.64 kB / 358.4 MB, free: 73.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006982/0.2382, allocations: 2.17 MB / 360.5 MB, free: 72.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.2385, allocations: 0.8576 MB / 361.4 MB, free: 72.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004808/0.239, allocations: 0.5394 MB / 361.9 MB, free: 72.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.239, allocations: 305.1 kB / 362.2 MB, free: 71.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.2395, allocations: 352.2 kB / 362.6 MB, free: 71.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.2402, allocations: 1.352 MB / 363.9 MB, free: 70.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.2416, allocations: 2.034 MB / 366 MB, free: 69.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/0.2417, allocations: 9.844 kB / 366 MB, free: 69.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.002769/0.2444, allocations: 2.028 MB / 368 MB, free: 69.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.2445, allocations: 23.94 kB / 368 MB, free: 69.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.134e-05/0.2445, allocations: 29.94 kB / 368.1 MB, free: 69.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006921/0.2452, allocations: 322.2 kB / 368.4 MB, free: 69.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.2471, allocations: 0.7553 MB / 369.1 MB, free: 69.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.2506, allocations: 7.327 MB / 376.5 MB, free: 62.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.2518, allocations: 113.2 kB / 376.6 MB, free: 62.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.252, allocations: 119.3 kB / 376.7 MB, free: 62.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (379): * Single equations (assignments): 372 * 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 {(3,12,100.0%), (1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008453/0.2528, allocations: 317.6 kB / 377 MB, free: 62.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.2532, allocations: 271.7 kB / 377.3 MB, free: 62.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.2554, allocations: 1.663 MB / 378.9 MB, free: 62.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.2555, allocations: 21.97 kB / 378.9 MB, free: 62.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.2555, allocations: 10.94 kB / 379 MB, free: 62.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.2555, allocations: 15.03 kB / 379 MB, free: 62.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/0.2612, allocations: 4.586 MB / 383.6 MB, free: 61.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.2612, allocations: 4 kB / 383.6 MB, free: 61.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.2623, allocations: 399.6 kB / 384 MB, free: 61.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.2635, allocations: 0.547 MB / 384.5 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.2636, allocations: 70.33 kB / 384.6 MB, free: 60.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005562/0.2692, allocations: 12.03 MB / 396.6 MB, free: 49.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2692, allocations: 4 kB / 396.6 MB, free: 49.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.2719, allocations: 2.275 MB / 398.9 MB, free: 47.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006286/0.2726, allocations: 384 kB / 399.3 MB, free: 47.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.2729, allocations: 49.62 kB / 399.3 MB, free: 47.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/0.2737, allocations: 91.44 kB / 399.4 MB, free: 47.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.274, allocations: 194.3 kB / 399.6 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.2741, allocations: 52.61 kB / 399.6 MB, free: 46.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009071/0.275, allocations: 1.024 MB / 400.7 MB, free: 46.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.275, allocations: 0 / 400.7 MB, free: 46.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002336/0.2773, allocations: 0.9774 MB / 401.6 MB, free: 45.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,5,100.0%), (3,12,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003616/0.2777, allocations: 236.1 kB / 401.9 MB, free: 45.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.2798, allocations: 2.111 MB / 404 MB, free: 43.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-05/0.2799, allocations: 39.84 kB / 404 MB, free: 43.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.2814, allocations: 1.824 MB / 405.8 MB, free: 41.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.2834, allocations: 0.8203 MB / 406.7 MB, free: 40.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00941/0.2928, allocations: 8.255 MB / 414.9 MB, free: 32.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009109/0.2938, allocations: 1.078 MB / 416 MB, free: 31.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001175/0.2949, allocations: 456.3 kB / 416.4 MB, free: 31.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/0.2963, allocations: 0.7802 MB / 417.2 MB, free: 30.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2963, allocations: 4 kB / 417.2 MB, free: 30.21 MB / 330.7 MB Notification: Performance of Templates: time 0.05582/0.3522, allocations: 47.06 MB / 464.3 MB, free: 15.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMPM_Inverter/SMPM_Inverter.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.151374249253422]