Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.005765/0.005765, allocations: 100.7 kB / 21.96 MB, free: 5.211 MB / 14.72 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.001622/0.001622, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 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 1.329/1.329, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 47.92 kB / 348 MB, free: 9.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2222, allocations: 49.16 MB / 397.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.008573/0.2308, allocations: 9.057 MB / 406.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.2361, allocations: 3.283 MB / 409.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.2372, allocations: 67.25 kB / 409.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.2388, allocations: 0.7525 MB / 410.3 MB, free: 172 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.2411, allocations: 0.8941 MB / 411.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.242, allocations: 428.3 kB / 411.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003062/0.2451, allocations: 2.76 MB / 414.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.2468, allocations: 1.323 MB / 415.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.2485, allocations: 1.287 MB / 417 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.2506, allocations: 1.629 MB / 418.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000422/0.2511, allocations: 335.3 kB / 418.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007904/0.2519, allocations: 431.6 kB / 419.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009537/0.2528, allocations: 0.9512 MB / 420.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.2541, allocations: 1.217 MB / 421.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.2585, allocations: 4.434 MB / 426 MB, free: 6.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2585, allocations: 0 / 426 MB, free: 6.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2585, allocations: 0 / 426 MB, free: 6.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.039e-05/0.2586, allocations: 0 / 426 MB, free: 6.199 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005819/0.2644, allocations: 3.045 MB / 429 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2644, allocations: 15.98 kB / 429 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.192e-05/0.2645, allocations: 60.61 kB / 429.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004165/0.2649, allocations: 325 kB / 429.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007698/0.2657, allocations: 327 kB / 429.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/0.2682, allocations: 1.465 MB / 431.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.2684, allocations: 168.4 kB / 431.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.2687, allocations: 220 kB / 431.6 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004907/0.2736, allocations: 3.009 MB / 434.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/0.2737, allocations: 7.984 kB / 434.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.2739, allocations: 95.98 kB / 434.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.274, allocations: 112.3 kB / 434.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004214/0.2782, allocations: 2.433 MB / 437.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/0.2915, allocations: 8.159 MB / 445.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.2937, allocations: 1.188 MB / 446.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.2955, allocations: 0.9209 MB / 447.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.2957, allocations: 56.95 kB / 447.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.2958, allocations: 43.56 kB / 447.6 MB, free: 40 kB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 2.735e-06/0.2958, allocations: 0 / 447.6 MB, free: 40 kB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01402/0.3098, allocations: 6.024 MB / 453.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3098, allocations: 68.39 kB / 453.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.3121, allocations: 1.565 MB / 455.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.349e-05/0.3122, allocations: 45.7 kB / 455.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008662/0.3131, allocations: 1.142 MB / 456.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.3135, allocations: 448.2 kB / 456.9 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004452/0.3139, allocations: 271.5 kB / 457.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.314, allocations: 305.1 kB / 457.4 MB, free: 6.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.3152, allocations: 0.7105 MB / 458.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.3167, allocations: 1.143 MB / 459.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002812/0.3195, allocations: 1.964 MB / 461.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.3196, allocations: 11.94 kB / 461.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00433/0.3239, allocations: 2.436 MB / 463.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.3239, allocations: 12 kB / 463.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.3239, allocations: 12 kB / 463.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.325, allocations: 427.3 kB / 464.1 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.3262, allocations: 347.4 kB / 464.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007232/0.3335, allocations: 6.778 MB / 471.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3348, allocations: 103.8 kB / 471.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.3349, allocations: 64 kB / 471.4 MB, free: 7.379 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * 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 {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001256/0.3362, allocations: 0.716 MB / 472.1 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/0.3365, allocations: 182.8 kB / 472.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/0.3404, allocations: 2.099 MB / 474.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3404, allocations: 12 kB / 474.4 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3404, allocations: 7.938 kB / 474.4 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.3405, allocations: 12.05 kB / 474.4 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007875/0.3483, allocations: 4.397 MB / 478.8 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.3483, allocations: 4 kB / 478.8 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.3493, allocations: 223.7 kB / 479.1 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.3505, allocations: 459.4 kB / 479.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.3506, allocations: 39.98 kB / 479.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008416/0.359, allocations: 8.207 MB / 487.8 MB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.359, allocations: 4 kB / 487.8 MB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.3642, allocations: 3.152 MB / 490.9 MB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000928/0.3651, allocations: 330.7 kB / 491.2 MB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.3654, allocations: 39.98 kB / 491.3 MB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/0.3663, allocations: 83.91 kB / 491.4 MB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.3665, allocations: 104.7 kB / 491.5 MB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.022e-05/0.3666, allocations: 39.98 kB / 491.5 MB, free: 2.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001623/0.3683, allocations: 1.07 MB / 492.6 MB, free: 1.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3683, allocations: 3.938 kB / 492.6 MB, free: 1.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001668/0.3699, allocations: 483.9 kB / 493 MB, free: 1.031 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005584/0.3755, allocations: 3.79 MB / 496.8 MB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003722/0.3792, allocations: 2.144 MB / 499 MB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.3792, allocations: 0 / 499 MB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/0.3816, allocations: 1.422 MB / 0.4887 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.3839, allocations: 485.5 kB / 0.4891 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/0.412, allocations: 17.8 MB / 0.5065 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.4136, allocations: 1.302 MB / 0.5078 GB, free: 5.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001161/0.4147, allocations: 394.8 kB / 0.5082 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.4159, allocations: 0.8742 MB / 0.509 GB, free: 3.879 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4159, allocations: 0 / 0.509 GB, free: 3.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0971/0.513, allocations: 48.48 MB / 0.5564 GB, free: 3.246 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.7, allocations: 3.938 kB / 0.5564 GB, free: 3.242 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 21.226884823990986]