Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.001331/0.001331, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001439/0.001439, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.373/1.373, allocations: 207.6 MB / 235.3 MB, free: 10 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_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",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.001705/0.001705, allocations: 55.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2457, allocations: 49.17 MB / 396.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01108/0.2568, allocations: 9.042 MB / 405.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006238/0.2631, allocations: 3.229 MB / 408.6 MB, free: 220 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.2641, allocations: 47.31 kB / 408.7 MB, free: 200 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.2659, allocations: 0.7229 MB / 409.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.2683, allocations: 0.7499 MB / 410.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.2693, allocations: 345.2 kB / 410.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002713/0.272, allocations: 2.107 MB / 412.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.2733, allocations: 0.8164 MB / 413.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.275, allocations: 0.9276 MB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.2767, allocations: 1.16 MB / 415.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.277, allocations: 230.5 kB / 415.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000673/0.2777, allocations: 323.5 kB / 416 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007061/0.2784, allocations: 0.6843 MB / 416.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.2796, allocations: 1.093 MB / 417.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003553/0.2831, allocations: 3.113 MB / 420.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.2831, allocations: 1.188 kB / 420.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2831, allocations: 0 / 420.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.086e-05/0.2832, allocations: 0 / 420.9 MB, free: 8.68 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004495/0.2877, allocations: 2.249 MB / 423.2 MB, free: 7.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2877, allocations: 13.7 kB / 423.2 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002879/0.288, allocations: 238.3 kB / 423.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005983/0.2886, allocations: 235.6 kB / 423.7 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.2907, allocations: 1.101 MB / 424.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.626e-05/0.2908, allocations: 117.9 kB / 424.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.2911, allocations: 151.8 kB / 425 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.2942, allocations: 2.005 MB / 427 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.2943, allocations: 7.953 kB / 427 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.2944, allocations: 67.98 kB / 427.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.891e-05/0.2945, allocations: 82.89 kB / 427.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.2971, allocations: 1.647 MB / 428.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.3077, allocations: 6.774 MB / 435.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/0.3085, allocations: 424.8 kB / 436 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.3089, allocations: 250 kB / 436.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.3091, allocations: 36.41 kB / 436.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.3091, allocations: 39 kB / 436.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.3091, allocations: 0 / 436.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007485/0.3166, allocations: 3.165 MB / 439.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002694/0.3193, allocations: 2.231 MB / 441.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.322, allocations: 1.616 MB / 443.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.3222, allocations: 37.7 kB / 443.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008675/0.323, allocations: 1.056 MB / 444.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.3233, allocations: 246 kB / 444.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000437/0.3238, allocations: 323.3 kB / 445 MB, free: 1.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3239, allocations: 309.1 kB / 445.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008038/0.3247, allocations: 0.5191 MB / 445.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.3263, allocations: 1.457 MB / 447.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.3288, allocations: 2.138 MB / 449.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/0.3289, allocations: 16 kB / 449.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003768/0.3326, allocations: 2.162 MB / 451.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.3327, allocations: 20 kB / 451.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.073e-05/0.3327, allocations: 32 kB / 451.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.3333, allocations: 222.7 kB / 451.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.3344, allocations: 399.3 kB / 452.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.3362, allocations: 1.756 MB / 454 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.3376, allocations: 135.7 kB / 454.1 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.3378, allocations: 96 kB / 454.2 MB, free: 7.523 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009239/0.3387, allocations: 0.5906 MB / 454.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.339, allocations: 159 kB / 455 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.3409, allocations: 1.104 MB / 456.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3409, allocations: 12 kB / 456.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3409, allocations: 0 / 456.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3409, allocations: 7.922 kB / 456.1 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.3464, allocations: 3.309 MB / 459.4 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.3464, allocations: 4 kB / 459.4 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.3468, allocations: 107.8 kB / 459.5 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006164/0.3474, allocations: 227 kB / 459.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.3475, allocations: 20 kB / 459.8 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004042/0.3515, allocations: 3.847 MB / 463.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002123/0.3536, allocations: 2.07 MB / 465.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.3563, allocations: 1.758 MB / 467.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006996/0.357, allocations: 238.8 kB / 467.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.3571, allocations: 23.98 kB / 467.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.3578, allocations: 48.02 kB / 467.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.358, allocations: 63.77 kB / 467.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.358, allocations: 24 kB / 467.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.3597, allocations: 1.074 MB / 468.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3597, allocations: 4 kB / 468.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001662/0.3614, allocations: 380 kB / 469.3 MB, free: 7.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003121/0.3645, allocations: 2.357 MB / 471.6 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.367, allocations: 1.42 MB / 473 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.367, allocations: 0 / 473 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.3683, allocations: 0.753 MB / 473.8 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.3703, allocations: 409.3 kB / 474.2 MB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/0.3934, allocations: 15.3 MB / 489.5 MB, free: 2.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.3947, allocations: 1.469 MB / 491 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.3957, allocations: 358 kB / 491.3 MB, free: 356 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008428/0.3965, allocations: 0.6204 MB / 491.9 MB, free: 15.72 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3965, allocations: 0 / 491.9 MB, free: 15.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08841/0.4849, allocations: 37.85 MB / 0.5174 GB, free: 9.758 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.27, allocations: 15.86 kB / 0.5174 GB, free: 9.742 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv --start-time 0 --stop-time 0.04 --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_NoLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_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_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable constantSpeed.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv. Warning: Get data of variable constantSpeed.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.636950181004067]