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.001764/0.001764, allocations: 107.6 kB / 21.18 MB, free: 452 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.001992/0.001992, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.388/1.388, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.001779/0.001779, allocations: 55.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2667, allocations: 49.15 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01012/0.2769, allocations: 9.069 MB / 405.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006001/0.2829, allocations: 3.291 MB / 408.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009605/0.2838, allocations: 71.25 kB / 408.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.2855, allocations: 0.7522 MB / 409.5 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.2878, allocations: 0.8878 MB / 410.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.2888, allocations: 427.5 kB / 410.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.2921, allocations: 2.763 MB / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.294, allocations: 1.272 MB / 414.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.2959, allocations: 1.291 MB / 416.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.2983, allocations: 1.513 MB / 417.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004959/0.2988, allocations: 334.7 kB / 418 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009228/0.2997, allocations: 435.9 kB / 418.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.3007, allocations: 0.9547 MB / 419.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.3021, allocations: 1.214 MB / 420.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00489/0.307, allocations: 4.428 MB / 425 MB, free: 6.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.307, allocations: 0 / 425 MB, free: 6.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.307, allocations: 4 kB / 425 MB, free: 6.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.263e-05/0.307, allocations: 0 / 425 MB, free: 6.328 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.006104/0.3131, allocations: 3.041 MB / 428.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3132, allocations: 15.92 kB / 428.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004051/0.3136, allocations: 321 kB / 428.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007382/0.3143, allocations: 327 kB / 428.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.3171, allocations: 1.469 MB / 430.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.3173, allocations: 168.4 kB / 430.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.3176, allocations: 220 kB / 430.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0049/0.3225, allocations: 3.013 MB / 433.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-05/0.3226, allocations: 7.984 kB / 433.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.3228, allocations: 88 kB / 433.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.3229, allocations: 112.3 kB / 433.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004254/0.3272, allocations: 2.437 MB / 436.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.3411, allocations: 8.17 MB / 444.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.3433, allocations: 1.183 MB / 445.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.3451, allocations: 0.9132 MB / 446.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.3453, allocations: 48.97 kB / 446.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3454, allocations: 48.03 kB / 446.6 MB, free: 244 kB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.156e-06/0.3454, allocations: 0 / 446.6 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01424/0.3596, allocations: 6.032 MB / 452.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3597, allocations: 64.41 kB / 452.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.3621, allocations: 1.592 MB / 454.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/0.3622, allocations: 53.64 kB / 454.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009608/0.3632, allocations: 1.134 MB / 455.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.3636, allocations: 452.1 kB / 455.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004588/0.3641, allocations: 271.5 kB / 456.2 MB, free: 6.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3642, allocations: 305.1 kB / 456.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.3654, allocations: 0.7027 MB / 457.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.3671, allocations: 1.143 MB / 458.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.37, allocations: 1.96 MB / 460.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.37, allocations: 8 kB / 460.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004419/0.3744, allocations: 2.436 MB / 462.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.3745, allocations: 15.94 kB / 462.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.3745, allocations: 12.28 kB / 462.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009777/0.3755, allocations: 427.1 kB / 463.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.3767, allocations: 347.5 kB / 463.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007968/0.3847, allocations: 6.77 MB / 470.3 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.3863, allocations: 107.8 kB / 470.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.3864, allocations: 63.94 kB / 470.4 MB, free: 7.555 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.001472/0.3879, allocations: 0.7199 MB / 471.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003838/0.3883, allocations: 178.8 kB / 471.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.3923, allocations: 2.095 MB / 473.4 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.3923, allocations: 16 kB / 473.4 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.3923, allocations: 11.92 kB / 473.5 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3923, allocations: 3.984 kB / 473.5 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008354/0.4007, allocations: 4.416 MB / 477.9 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4007, allocations: 4 kB / 477.9 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009306/0.4016, allocations: 223.7 kB / 478.1 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.4027, allocations: 451.5 kB / 478.5 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/0.4028, allocations: 35.92 kB / 478.6 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008869/0.4117, allocations: 8.214 MB / 486.8 MB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4117, allocations: 4 kB / 486.8 MB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/0.4171, allocations: 3.159 MB / 490 MB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.4181, allocations: 326.7 kB / 490.3 MB, free: 3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.4183, allocations: 35.98 kB / 490.3 MB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008765/0.4192, allocations: 83.91 kB / 490.4 MB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.4195, allocations: 108.6 kB / 490.5 MB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/0.4195, allocations: 43.98 kB / 490.5 MB, free: 2.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001614/0.4211, allocations: 1.066 MB / 491.6 MB, free: 1.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4211, allocations: 0 / 491.6 MB, free: 1.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001709/0.4229, allocations: 488.1 kB / 492.1 MB, free: 1.195 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.005728/0.4286, allocations: 3.794 MB / 495.9 MB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003968/0.4326, allocations: 2.136 MB / 498 MB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.4326, allocations: 4 kB / 498 MB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002402/0.435, allocations: 1.415 MB / 499.4 MB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.4372, allocations: 489.7 kB / 499.9 MB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/0.4673, allocations: 17.78 MB / 0.5056 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.469, allocations: 1.306 MB / 0.5068 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001175/0.4701, allocations: 394.8 kB / 0.5072 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.4713, allocations: 0.8742 MB / 0.5081 GB, free: 4.059 MB / 430.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4713, allocations: 3.938 kB / 0.5081 GB, free: 4.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/0.5811, allocations: 48.47 MB / 0.5554 GB, free: 3.426 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.61, allocations: 3.938 kB / 0.5554 GB, free: 3.422 MB / 478.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv failed! Error: Could not read variable vfController.x in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv. Warning: Get data of variable vfController.x from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.711753548122942]