Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.0009188/0.0009188, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005341/0.005341, allocations: 161.2 kB / 24.69 MB, free: 9.414 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.9562/0.9562, allocations: 158.6 MB / 186.5 MB, free: 3.035 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.191e-05, allocations: 6.281 kB / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.1699/0.17, allocations: 11.18 MB / 309.6 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008821/0.1788, allocations: 4.077 MB / 313.7 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004327/0.1831, allocations: 85.09 kB / 313.8 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004307/0.1874, allocations: 0.9579 MB / 314.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005723/0.1931, allocations: 1.293 MB / 316.1 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.196, allocations: 0.8532 MB / 316.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007317/0.2033, allocations: 4.062 MB / 321 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.2063, allocations: 1.688 MB / 322.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006996/0.2132, allocations: 2.755 MB / 325.4 MB, free: 444 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005019/0.2183, allocations: 1.745 MB / 327.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002359/0.2206, allocations: 0.4968 MB / 327.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.2253, allocations: 0.6883 MB / 328.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00217/0.2274, allocations: 1.136 MB / 329.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003759/0.2312, allocations: 1.401 MB / 330.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00726/0.2384, allocations: 6.657 MB / 337.5 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2384, allocations: 4 kB / 337.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2385, allocations: 3.938 kB / 337.5 MB, free: 7.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.2386, allocations: 0 / 337.5 MB, free: 7.645 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.008836/0.2475, allocations: 4.275 MB / 341.8 MB, free: 3.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.2475, allocations: 11.98 kB / 341.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005126/0.248, allocations: 443.2 kB / 342.3 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.2504, allocations: 0.83 MB / 343.1 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.2537, allocations: 2.168 MB / 345.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.2539, allocations: 230.6 kB / 345.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.2542, allocations: 328.1 kB / 345.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006159/0.2604, allocations: 4.369 MB / 350.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/0.2604, allocations: 0 / 350.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.2607, allocations: 128 kB / 350.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.2608, allocations: 158.3 kB / 350.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004691/0.2655, allocations: 3.585 MB / 354 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.2809, allocations: 11.63 MB / 365.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.2842, allocations: 2.622 MB / 368.3 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.2856, allocations: 1.231 MB / 369.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004343/0.29, allocations: 3.106 MB / 372.6 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.29, allocations: 47.56 kB / 372.7 MB, free: 4.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 3.687e-06/0.29, allocations: 3.938 kB / 372.7 MB, free: 4.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.006717/0.2967, allocations: 4.779 MB / 377.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.2968, allocations: 64.41 kB / 377.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.2986, allocations: 1.736 MB / 379.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/0.2987, allocations: 49.69 kB / 379.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/0.2993, allocations: 1.434 MB / 380.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.2995, allocations: 452.2 kB / 381.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.2998, allocations: 279.5 kB / 381.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.2999, allocations: 305.1 kB / 381.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.3005, allocations: 0.6403 MB / 382.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008745/0.3014, allocations: 1.143 MB / 383.5 MB, free: 8.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.3032, allocations: 1.871 MB / 385.4 MB, free: 6.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.3032, allocations: 4 kB / 385.4 MB, free: 6.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002374/0.3056, allocations: 2.245 MB / 387.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.3056, allocations: 12 kB / 387.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3056, allocations: 16 kB / 387.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/0.306, allocations: 267.2 kB / 387.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.3067, allocations: 355.5 kB / 388.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/0.3105, allocations: 5.845 MB / 394.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.3113, allocations: 71.95 kB / 394.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.3114, allocations: 68.11 kB / 394.3 MB, free: 13.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001466/0.3129, allocations: 0.9971 MB / 395.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.313, allocations: 198.7 kB / 395.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.3153, allocations: 1.945 MB / 397.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.3153, allocations: 12 kB / 397.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3153, allocations: 12 kB / 397.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3153, allocations: 7.969 kB / 397.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.3204, allocations: 4.36 MB / 401.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.3204, allocations: 0 / 401.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.3208, allocations: 171.8 kB / 402 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006998/0.3215, allocations: 448.4 kB / 402.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.399e-05/0.3216, allocations: 35.98 kB / 402.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/0.329, allocations: 10.39 MB / 412.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.329, allocations: 0 / 412.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/0.3332, allocations: 2.834 MB / 415.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008615/0.334, allocations: 346.7 kB / 416 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.3342, allocations: 32.12 kB / 416 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.3347, allocations: 71.88 kB / 416.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.335, allocations: 100.8 kB / 416.2 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.335, allocations: 43.98 kB / 416.2 MB, free: 6.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00148/0.3365, allocations: 1.17 MB / 417.4 MB, free: 5.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3365, allocations: 0 / 417.4 MB, free: 5.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001822/0.3383, allocations: 0.5352 MB / 418 MB, free: 5.148 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.003848/0.3422, allocations: 3.442 MB / 421.4 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.3448, allocations: 1.932 MB / 423.3 MB, free: 15.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3448, allocations: 0 / 423.3 MB, free: 15.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.3463, allocations: 1.472 MB / 424.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.3482, allocations: 0.5123 MB / 425.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03148/0.3796, allocations: 18.91 MB / 444.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.3812, allocations: 1.724 MB / 445.9 MB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001104/0.3823, allocations: 383.8 kB / 446.3 MB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.3834, allocations: 1.098 MB / 447.4 MB, free: 6.781 MB / 410.7 MB Notification: Performance of SimCode: time 2.534e-06/0.3834, allocations: 4 kB / 447.4 MB, free: 6.777 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2685/0.652, allocations: 53.67 MB / 0.4893 GB, free: 122.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/9.274, allocations: 6.625 kB / 0.4893 GB, free: 122.9 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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/AIMC_Inverter/AIMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 12.936747839674354]