Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 109.1 kB / 21.22 MB, free: 0.5859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 212.2 kB / 24.53 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2566, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03789/0.2945, allocations: 31.18 MB / 463.2 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02165/0.3161, allocations: 8.934 MB / 472.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00583/0.3219, allocations: 218.9 kB / 472.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01349/0.3354, allocations: 5.019 MB / 477.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009859/0.3453, allocations: 3.135 MB / 480.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005147/0.3504, allocations: 1.662 MB / 482.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01365/0.3641, allocations: 8.875 MB / 491 MB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01751/0.3816, allocations: 9.224 MB / 0.4885 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007748/0.3894, allocations: 4.347 MB / 0.4928 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008612/0.398, allocations: 4.893 MB / 0.4975 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003306/0.4013, allocations: 1.164 MB / 0.4987 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/0.4066, allocations: 1.566 MB / 0.5002 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00422/0.4108, allocations: 2.415 MB / 0.5026 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009744/0.4206, allocations: 4.688 MB / 0.5071 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02177/0.4423, allocations: 15.87 MB / 0.5226 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4423, allocations: 4 kB / 0.5226 GB, free: 15.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4423, allocations: 4 kB / 0.5226 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004335/0.4428, allocations: 0 / 0.5226 GB, free: 15.09 MB / 446.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.03098/0.4738, allocations: 9.892 MB / 0.5323 GB, free: 5.105 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.4738, allocations: 8.031 kB / 0.5323 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003079/0.4741, allocations: 224.6 kB / 0.5325 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004757/0.4789, allocations: 1.156 MB / 0.5337 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2355/0.7143, allocations: 5.22 MB / 0.5388 GB, free: 90.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.7263, allocations: 5.142 MB / 0.5438 GB, free: 88.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004727/0.7267, allocations: 0.531 MB / 0.5443 GB, free: 88.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00265/0.7294, allocations: 0.7103 MB / 0.545 GB, free: 88.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02336/0.7528, allocations: 11.36 MB / 0.5561 GB, free: 83.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003175/0.7531, allocations: 22.09 kB / 0.5561 GB, free: 83.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00214/0.7552, allocations: 301.5 kB / 0.5564 GB, free: 82.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004039/0.7556, allocations: 454.1 kB / 0.5568 GB, free: 82.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/0.7765, allocations: 10.87 MB / 0.5674 GB, free: 73.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06006/0.8366, allocations: 36.72 MB / 0.6033 GB, free: 36.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.8485, allocations: 7.513 MB / 0.6106 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/0.8524, allocations: 2.448 MB / 0.613 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01514/0.8675, allocations: 7.624 MB / 0.6205 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.8676, allocations: 56.56 kB / 0.6205 GB, free: 20.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 5.54e-06/0.8676, allocations: 0 / 0.6205 GB, free: 20.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=279): time 0.03597/0.9035, allocations: 17.2 MB / 0.6373 GB, free: 2.945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.9036, allocations: 85.55 kB / 0.6374 GB, free: 2.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006998/0.9106, allocations: 3.843 MB / 0.6412 GB, free: 14.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004998/0.9111, allocations: 69.7 kB / 0.6412 GB, free: 14.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003147/0.9142, allocations: 3.69 MB / 0.6448 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.9156, allocations: 1.025 MB / 0.6458 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002573/0.9182, allocations: 1.017 MB / 0.6468 GB, free: 9.168 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9183, allocations: 301.1 kB / 0.6471 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/0.9222, allocations: 2.138 MB / 0.6492 GB, free: 6.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006372/0.9285, allocations: 4.661 MB / 0.6537 GB, free: 0.832 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.9391, allocations: 7.36 MB / 0.6609 GB, free: 8.258 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-05/0.9392, allocations: 28 kB / 0.661 GB, free: 8.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=672) (initialization): time 0.01743/0.9566, allocations: 8.098 MB / 0.6689 GB, free: 108 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.533e-05/0.9567, allocations: 40 kB / 0.6689 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/0.9569, allocations: 88.05 kB / 0.669 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00433/0.9612, allocations: 1.39 MB / 0.6703 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/0.9655, allocations: 1.131 MB / 0.6714 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.9828, allocations: 11.34 MB / 0.6825 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/0.9873, allocations: 323.2 kB / 0.6828 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/0.9884, allocations: 291.9 kB / 0.6831 GB, free: 1.273 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 394 * 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 (599): * Single equations (assignments): 594 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(2,100.0%), (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): 2 systems {(4,32,100.0%), (4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006487/0.9949, allocations: 2.58 MB / 0.6856 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/0.9964, allocations: 421.3 kB / 0.686 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/1.008, allocations: 5.387 MB / 0.6913 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/1.008, allocations: 31.94 kB / 0.6913 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-05/1.008, allocations: 16 kB / 0.6913 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.496e-05/1.008, allocations: 15.94 kB / 0.6914 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/1.034, allocations: 12.42 MB / 0.7035 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.206e-05/1.034, allocations: 15.94 kB / 0.7035 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/1.036, allocations: 0.4914 MB / 0.704 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003933/1.04, allocations: 1.269 MB / 0.7052 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004958/1.041, allocations: 79.98 kB / 0.7053 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/1.057, allocations: 11.16 MB / 0.7162 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.832e-05/1.057, allocations: 23.94 kB / 0.7162 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/1.074, allocations: 8.278 MB / 0.7243 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/1.077, allocations: 0.8328 MB / 0.7251 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.078, allocations: 67.98 kB / 0.7252 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/1.081, allocations: 175.9 kB / 0.7253 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008856/1.082, allocations: 265.5 kB / 0.7256 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004392/1.083, allocations: 107.9 kB / 0.7257 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005759/1.088, allocations: 2.526 MB / 0.7282 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/1.088, allocations: 0 / 0.7282 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007157/1.096, allocations: 1.391 MB / 0.7295 GB, free: 0.8086 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 1 (constantSpeed.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 (255): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(2,100.0%), (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): 2 systems {(4,32,100.0%), (4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01659/1.112, allocations: 8.981 MB / 0.7383 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.124, allocations: 5.832 MB / 0.744 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.124, allocations: 4 kB / 0.744 GB, free: 1.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2155/1.339, allocations: 2.767 MB / 0.7467 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005744/1.345, allocations: 1.009 MB / 0.7477 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0747/1.42, allocations: 49.6 MB / 0.7961 GB, free: 155.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006055/1.426, allocations: 4.599 MB / 0.8006 GB, free: 151.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004116/1.43, allocations: 1.377 MB / 0.802 GB, free: 149.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004151/1.434, allocations: 2.612 MB / 0.8045 GB, free: 147.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.693e-06/1.434, allocations: 4 kB / 0.8045 GB, free: 147.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1598/1.594, allocations: 117.7 MB / 0.9195 GB, free: 30.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.16/22.75, allocations: 4.062 kB / 0.9195 GB, free: 30.14 MB / 0.545 GB " [Timeout remaining time 637] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_OpenCircuit.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 26.086108102055732]