Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.00149/0.00149, 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.001808/0.001808, allocations: 214.7 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.478/1.478, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",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.001856/0.001856, allocations: 59.91 kB / 347.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3147, allocations: 49.15 MB / 396.4 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.0307/0.3454, allocations: 25.98 MB / 422.4 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02009/0.3655, allocations: 8.346 MB / 430.7 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005861/0.3714, allocations: 197.5 kB / 430.9 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01349/0.3849, allocations: 4.625 MB / 435.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.3957, allocations: 3.011 MB / 438.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005281/0.401, allocations: 1.583 MB / 440.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01446/0.4154, allocations: 8.775 MB / 448.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0176/0.4331, allocations: 9.06 MB / 457.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007469/0.4405, allocations: 4.339 MB / 462.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008939/0.4495, allocations: 4.53 MB / 466.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003651/0.4531, allocations: 1.16 MB / 468 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005179/0.4583, allocations: 1.503 MB / 469.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003774/0.4621, allocations: 2.408 MB / 471.9 MB, free: 7.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007938/0.47, allocations: 3.657 MB / 475.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02145/0.4915, allocations: 15.82 MB / 491.4 MB, free: 3.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4915, allocations: 0 / 491.4 MB, free: 3.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4915, allocations: 0 / 491.4 MB, free: 3.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004257/0.4919, allocations: 3.938 kB / 491.4 MB, free: 3.781 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03026/0.5222, allocations: 9.845 MB / 0.4895 GB, free: 9.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.5222, allocations: 11.98 kB / 0.4895 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00384/0.526, allocations: 1.145 MB / 0.4906 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03033/0.5564, allocations: 5.317 MB / 0.4958 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/0.5697, allocations: 4.672 MB / 0.5004 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006785/0.5704, allocations: 0.5259 MB / 0.5009 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003003/0.5734, allocations: 0.7147 MB / 0.5016 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/0.6027, allocations: 11.55 MB / 0.5128 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004/0.6031, allocations: 11.95 kB / 0.5129 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002258/0.6053, allocations: 296 kB / 0.5131 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005299/0.6059, allocations: 454.9 kB / 0.5136 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/0.6302, allocations: 10.76 MB / 0.5241 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06882/0.699, allocations: 33.59 MB / 0.5569 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2063/0.9053, allocations: 7.365 MB / 0.5641 GB, free: 136.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004219/0.9096, allocations: 2.419 MB / 0.5664 GB, free: 136.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/0.9229, allocations: 6.866 MB / 0.5731 GB, free: 133.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.9229, allocations: 64.44 kB / 0.5732 GB, free: 133.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=217): time 4.498e-06/0.9229, allocations: 0.8438 kB / 0.5732 GB, free: 133.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=233): time 0.01809/0.941, allocations: 10.28 MB / 0.5832 GB, free: 129.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001543/0.9425, allocations: 1.883 MB / 0.5851 GB, free: 127.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004702/0.9472, allocations: 3.974 MB / 0.589 GB, free: 125.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.9474, allocations: 65.27 kB / 0.589 GB, free: 125.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.9491, allocations: 3.686 MB / 0.5926 GB, free: 123.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/0.9496, allocations: 0.8649 MB / 0.5935 GB, free: 122.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.9507, allocations: 0.9547 MB / 0.5944 GB, free: 122.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.9507, allocations: 305.1 kB / 0.5947 GB, free: 121.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.9529, allocations: 1.893 MB / 0.5965 GB, free: 121.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003203/0.9562, allocations: 4.438 MB / 0.6009 GB, free: 117.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00574/0.9619, allocations: 6.782 MB / 0.6075 GB, free: 111.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.136e-05/0.9619, allocations: 28 kB / 0.6075 GB, free: 111.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009556/0.9715, allocations: 6.981 MB / 0.6143 GB, free: 104.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.9716, allocations: 44.94 kB / 0.6144 GB, free: 104.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.9717, allocations: 88.81 kB / 0.6145 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.9734, allocations: 0.7477 MB / 0.6152 GB, free: 103.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.9766, allocations: 1.115 MB / 0.6163 GB, free: 102.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.9825, allocations: 5.445 MB / 0.6216 GB, free: 97.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004019/0.9865, allocations: 311.4 kB / 0.6219 GB, free: 96.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004073/0.9869, allocations: 272 kB / 0.6222 GB, free: 96.62 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * 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 {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003694/0.9906, allocations: 2.522 MB / 0.6246 GB, free: 94.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009099/0.9915, allocations: 405.4 kB / 0.625 GB, free: 93.69 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00604/0.9976, allocations: 4.251 MB / 0.6292 GB, free: 89.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.9976, allocations: 24 kB / 0.6292 GB, free: 89.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.9976, allocations: 8 kB / 0.6292 GB, free: 89.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.9976, allocations: 11.95 kB / 0.6292 GB, free: 89.37 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/1.02, allocations: 13.44 MB / 0.6423 GB, free: 75.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/1.02, allocations: 12.94 kB / 0.6424 GB, free: 75.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/1.022, allocations: 479.2 kB / 0.6428 GB, free: 75.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/1.024, allocations: 0.6853 MB / 0.6435 GB, free: 74.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/1.024, allocations: 71.98 kB / 0.6435 GB, free: 74.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007675/1.032, allocations: 7.179 MB / 0.6506 GB, free: 67.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001338/1.033, allocations: 1.845 MB / 0.6524 GB, free: 65.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008895/1.042, allocations: 6.739 MB / 0.6589 GB, free: 58.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/1.044, allocations: 0.751 MB / 0.6597 GB, free: 57.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/1.045, allocations: 60 kB / 0.6597 GB, free: 57.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002397/1.048, allocations: 159.9 kB / 0.6599 GB, free: 57.13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004125/1.048, allocations: 237.3 kB / 0.6601 GB, free: 56.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/1.048, allocations: 91.98 kB / 0.6602 GB, free: 56.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00413/1.053, allocations: 2.513 MB / 0.6627 GB, free: 54.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.053, allocations: 0 / 0.6627 GB, free: 54.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005284/1.058, allocations: 1.281 MB / 0.6639 GB, free: 53.04 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (241): * Single equations (assignments): 238 * 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 {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009491/1.067, allocations: 7.425 MB / 0.6712 GB, free: 45.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007376/1.075, allocations: 4.823 MB / 0.6759 GB, free: 40.49 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/1.075, allocations: 4 kB / 0.6759 GB, free: 40.49 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003601/1.078, allocations: 2.189 MB / 0.678 GB, free: 38.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/1.084, allocations: 0.9861 MB / 0.679 GB, free: 37.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07187/1.156, allocations: 46.25 MB / 0.7241 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006921/1.163, allocations: 4.012 MB / 0.7281 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004325/1.167, allocations: 1.367 MB / 0.7294 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004188/1.171, allocations: 2.542 MB / 0.7319 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of SimCode: time 1.914e-06/1.171, allocations: 0 / 0.7319 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/1.529, allocations: 107.6 MB / 0.8369 GB, free: 118.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/19.56, allocations: 8.047 kB / 0.8369 GB, free: 118.5 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.181022161152214]