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.001323/0.001323, 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.001501/0.001501, allocations: 217.1 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.353/1.353, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.00198/0.00198, allocations: 59.86 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2519, allocations: 49.15 MB / 396.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008681/0.2605, allocations: 7.944 MB / 404.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.2665, allocations: 3.014 MB / 407.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.2676, allocations: 47.59 kB / 407.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.2692, allocations: 0.6531 MB / 408 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.2712, allocations: 0.7494 MB / 408.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.2719, allocations: 333.3 kB / 409.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.2744, allocations: 2.104 MB / 411.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.2757, allocations: 0.7807 MB / 412 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.2771, allocations: 0.9375 MB / 412.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.2787, allocations: 1.082 MB / 414 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.2791, allocations: 230.8 kB / 414.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.2797, allocations: 323.4 kB / 414.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007446/0.2805, allocations: 0.6804 MB / 415.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.2816, allocations: 0.8762 MB / 416.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003396/0.2849, allocations: 3.142 MB / 419.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.285, allocations: 3.984 kB / 419.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.285, allocations: 0 / 419.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.328e-05/0.285, allocations: 1.312 kB / 419.2 MB, free: 10.38 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.004493/0.2895, allocations: 2.241 MB / 421.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2895, allocations: 13.23 kB / 421.5 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003085/0.2898, allocations: 234.6 kB / 421.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/0.2905, allocations: 231.8 kB / 421.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.2927, allocations: 1.109 MB / 423.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.2928, allocations: 121 kB / 423.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.2931, allocations: 152.3 kB / 423.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/0.2964, allocations: 2.082 MB / 425.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.122e-05/0.2965, allocations: 7.891 kB / 425.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.2966, allocations: 64 kB / 425.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.2967, allocations: 82.89 kB / 425.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.2995, allocations: 1.643 MB / 427.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.3097, allocations: 6.275 MB / 433.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/0.3105, allocations: 417.5 kB / 433.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.3109, allocations: 262 kB / 434.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.3111, allocations: 36.39 kB / 434.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3111, allocations: 42.94 kB / 434.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.555e-06/0.3111, allocations: 0 / 434.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007195/0.3183, allocations: 3.161 MB / 437.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002575/0.3209, allocations: 2.215 MB / 439.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.3233, allocations: 1.674 MB / 441.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-05/0.3234, allocations: 37.7 kB / 441.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008614/0.3242, allocations: 1.049 MB / 442.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.3245, allocations: 246 kB / 442.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004425/0.3249, allocations: 331.3 kB / 442.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.325, allocations: 305.1 kB / 443.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008243/0.3259, allocations: 0.5192 MB / 443.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.3275, allocations: 1.464 MB / 445.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.3301, allocations: 2.141 MB / 447.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.3301, allocations: 8 kB / 447.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003455/0.3335, allocations: 2.158 MB / 449.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.3336, allocations: 20 kB / 449.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.3336, allocations: 32 kB / 449.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.3341, allocations: 231 kB / 449.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.3352, allocations: 399.2 kB / 450.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.337, allocations: 1.732 MB / 451.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.3383, allocations: 139.7 kB / 452 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.3385, allocations: 104.1 kB / 452.1 MB, free: 9.414 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.0008825/0.3393, allocations: 0.5944 MB / 452.7 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.3396, allocations: 159 kB / 452.9 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.3415, allocations: 1.108 MB / 454 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.3415, allocations: 8 kB / 454 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3415, allocations: 0 / 454 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3415, allocations: 0 / 454 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005434/0.347, allocations: 3.138 MB / 457.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.347, allocations: 4 kB / 457.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.3474, allocations: 111.8 kB / 457.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006248/0.348, allocations: 227 kB / 457.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/0.3481, allocations: 16 kB / 457.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004279/0.3524, allocations: 3.828 MB / 461.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002294/0.3546, allocations: 2.066 MB / 463.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.3575, allocations: 1.758 MB / 465.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008914/0.3584, allocations: 246.8 kB / 465.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/0.3588, allocations: 20 kB / 465.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008779/0.3597, allocations: 47.94 kB / 465.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.3598, allocations: 67.77 kB / 465.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.3599, allocations: 20 kB / 465.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001728/0.3616, allocations: 1.07 MB / 466.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3616, allocations: 0 / 466.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001854/0.3634, allocations: 384 kB / 467 MB, free: 9.926 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.003256/0.3667, allocations: 2.361 MB / 469.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.3692, allocations: 1.42 MB / 470.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3692, allocations: 0 / 470.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.3705, allocations: 0.7337 MB / 471.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.3727, allocations: 413.4 kB / 471.9 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/0.3976, allocations: 15.32 MB / 487.2 MB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.399, allocations: 0.8931 MB / 488.1 MB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.4001, allocations: 354 kB / 488.5 MB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009846/0.4011, allocations: 0.6203 MB / 489.1 MB, free: 2.398 MB / 398.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4011, allocations: 3.938 kB / 489.1 MB, free: 2.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09277/0.4939, allocations: 38.73 MB / 0.5154 GB, free: 11.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.67, allocations: 7.953 kB / 0.5154 GB, free: 11.54 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.120204008650035]