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.001789/0.001789, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002123/0.002123, allocations: 216 kB / 24.47 MB, free: 3.793 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.344/1.344, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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="me",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="me",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.001699/0.001699, allocations: 51.92 kB / 347.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2301, allocations: 49.16 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.009021/0.2391, allocations: 9.068 MB / 405.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.2449, allocations: 3.289 MB / 408.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.2464, allocations: 67.25 kB / 408.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.2482, allocations: 0.7497 MB / 409.5 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.2507, allocations: 0.8911 MB / 410.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.2519, allocations: 426.7 kB / 410.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003746/0.2556, allocations: 2.76 MB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.2574, allocations: 1.273 MB / 414.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.2596, allocations: 1.291 MB / 416.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.2619, allocations: 1.517 MB / 417.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004821/0.2624, allocations: 334.4 kB / 418 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009157/0.2633, allocations: 433 kB / 418.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009782/0.2643, allocations: 0.9541 MB / 419.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.2656, allocations: 1.222 MB / 420.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.2702, allocations: 4.419 MB / 425 MB, free: 6.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2702, allocations: 0 / 425 MB, free: 6.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2702, allocations: 4 kB / 425 MB, free: 6.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001256/0.2703, allocations: 0 / 425 MB, free: 6.355 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.006912/0.2772, allocations: 3.041 MB / 428.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2773, allocations: 19.97 kB / 428.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004058/0.2777, allocations: 336.9 kB / 428.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007321/0.2784, allocations: 323 kB / 428.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.2813, allocations: 1.465 MB / 430.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.2815, allocations: 172.4 kB / 430.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/0.2818, allocations: 223.9 kB / 430.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004913/0.2867, allocations: 3.009 MB / 433.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.2868, allocations: 0 / 433.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.287, allocations: 88 kB / 433.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.2871, allocations: 124.3 kB / 433.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004424/0.2916, allocations: 2.426 MB / 436.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.306, allocations: 8.167 MB / 444.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.3082, allocations: 1.175 MB / 445.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.3099, allocations: 0.921 MB / 446.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.3102, allocations: 52.92 kB / 446.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.3102, allocations: 48.12 kB / 446.6 MB, free: 264 kB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.537e-06/0.3102, allocations: 3.938 kB / 446.6 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01421/0.3244, allocations: 6.024 MB / 452.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.3245, allocations: 68.41 kB / 452.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.3268, allocations: 1.592 MB / 454.3 MB, free: 8.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.99e-05/0.3269, allocations: 45.7 kB / 454.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008669/0.3278, allocations: 1.134 MB / 455.5 MB, free: 7.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.3281, allocations: 452.1 kB / 455.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.3286, allocations: 275.5 kB / 456.2 MB, free: 6.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3287, allocations: 305.1 kB / 456.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.3299, allocations: 0.7066 MB / 457.2 MB, free: 5.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.3315, allocations: 1.143 MB / 458.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/0.3344, allocations: 1.964 MB / 460.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.3344, allocations: 4 kB / 460.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004252/0.3387, allocations: 2.444 MB / 462.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.3387, allocations: 16.28 kB / 462.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.3387, allocations: 12 kB / 462.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.3398, allocations: 419.1 kB / 463.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.341, allocations: 351.5 kB / 463.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007348/0.3484, allocations: 6.759 MB / 470.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.3498, allocations: 111.8 kB / 470.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.3499, allocations: 63.94 kB / 470.4 MB, free: 7.578 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.001229/0.3511, allocations: 0.7199 MB / 471.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.3514, allocations: 182.8 kB / 471.3 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/0.3551, allocations: 2.095 MB / 473.4 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.3552, allocations: 12 kB / 473.4 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.3552, allocations: 11.94 kB / 473.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.3552, allocations: 7.969 kB / 473.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008059/0.3632, allocations: 4.404 MB / 477.9 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.3632, allocations: 4 kB / 477.9 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009243/0.3642, allocations: 224.2 kB / 478.1 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.3653, allocations: 451.1 kB / 478.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-05/0.3654, allocations: 35.98 kB / 478.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008586/0.374, allocations: 8.218 MB / 486.8 MB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.374, allocations: 8 kB / 486.8 MB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/0.3793, allocations: 3.148 MB / 489.9 MB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.3804, allocations: 334.7 kB / 490.3 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.3806, allocations: 35.98 kB / 490.3 MB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008994/0.3815, allocations: 79.91 kB / 490.4 MB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.3818, allocations: 108.7 kB / 490.5 MB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.658e-05/0.3818, allocations: 39.98 kB / 490.5 MB, free: 2.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001622/0.3835, allocations: 1.07 MB / 491.6 MB, free: 1.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3835, allocations: 3.938 kB / 491.6 MB, free: 1.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001618/0.3851, allocations: 484.1 kB / 492.1 MB, free: 1.227 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.00556/0.3906, allocations: 3.79 MB / 495.9 MB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003809/0.3945, allocations: 2.136 MB / 498 MB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.3945, allocations: 8.062 kB / 498 MB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.3969, allocations: 1.419 MB / 499.4 MB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.399, allocations: 493.5 kB / 499.9 MB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/0.4262, allocations: 17.78 MB / 0.5056 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.4278, allocations: 1.302 MB / 0.5068 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001168/0.4289, allocations: 398.8 kB / 0.5072 GB, free: 4.957 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.4301, allocations: 0.8741 MB / 0.5081 GB, free: 4.082 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4301, allocations: 0 / 0.5081 GB, free: 4.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/0.5325, allocations: 48.46 MB / 0.5554 GB, free: 3.457 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.01, allocations: 3.938 kB / 0.5554 GB, free: 3.453 MB / 478.1 MB " [Timeout remaining time 647] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.505760627798736]