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.001265/0.001265, allocations: 105.1 kB / 21.22 MB, free: 0.6172 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.001353/0.001353, allocations: 210.2 kB / 24.51 MB, free: 3.91 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.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 7.707 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.001799/0.001799, allocations: 67.89 kB / 378.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2554, allocations: 53.4 MB / 431.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03045/0.2858, allocations: 26.61 MB / 458.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01926/0.3051, allocations: 8.522 MB / 467.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00725/0.3124, allocations: 230.8 kB / 467.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01235/0.3247, allocations: 4.656 MB / 471.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009522/0.3342, allocations: 3.062 MB / 475 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004539/0.3388, allocations: 1.607 MB / 476.6 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01217/0.3509, allocations: 8.856 MB / 485.5 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01509/0.366, allocations: 9.232 MB / 494.7 MB, free: 7.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008187/0.3742, allocations: 4.347 MB / 499 MB, free: 3.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009424/0.3836, allocations: 4.909 MB / 0.4921 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00295/0.3866, allocations: 1.168 MB / 0.4933 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004903/0.3915, allocations: 1.531 MB / 0.4948 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003558/0.395, allocations: 2.419 MB / 0.4971 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008282/0.4033, allocations: 3.669 MB / 0.5007 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.4251, allocations: 15.95 MB / 0.5163 GB, free: 5.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.4251, allocations: 0 / 0.5163 GB, free: 5.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4251, allocations: 0 / 0.5163 GB, free: 5.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004123/0.4255, allocations: 0 / 0.5163 GB, free: 5.297 MB / 430.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.0287/0.4542, allocations: 9.896 MB / 0.526 GB, free: 11.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.4542, allocations: 12.03 kB / 0.526 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002883/0.4545, allocations: 228.6 kB / 0.5262 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003682/0.4582, allocations: 1.145 MB / 0.5273 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02975/0.4879, allocations: 5.228 MB / 0.5324 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2249/0.7129, allocations: 5.143 MB / 0.5374 GB, free: 91.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006791/0.7136, allocations: 0.5316 MB / 0.538 GB, free: 91.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/0.7164, allocations: 0.7079 MB / 0.5387 GB, free: 91.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/0.7421, allocations: 11.59 MB / 0.55 GB, free: 86.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002317/0.7424, allocations: 15.31 kB / 0.55 GB, free: 86.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001377/0.7437, allocations: 301 kB / 0.5503 GB, free: 86.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003488/0.7441, allocations: 449.3 kB / 0.5507 GB, free: 86.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.7628, allocations: 10.88 MB / 0.5613 GB, free: 77.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05158/0.8144, allocations: 33.77 MB / 0.5943 GB, free: 44.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.8246, allocations: 7.442 MB / 0.6016 GB, free: 37.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003073/0.8277, allocations: 2.444 MB / 0.604 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01117/0.8389, allocations: 6.975 MB / 0.6108 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.8389, allocations: 56.56 kB / 0.6108 GB, free: 28.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 4.559e-06/0.8389, allocations: 0 / 0.6108 GB, free: 28.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=279): time 0.03155/0.8705, allocations: 17.2 MB / 0.6276 GB, free: 11.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.8705, allocations: 81.61 kB / 0.6277 GB, free: 11.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004744/0.8753, allocations: 3.838 MB / 0.6314 GB, free: 7.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004686/0.8757, allocations: 73.7 kB / 0.6315 GB, free: 7.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.8775, allocations: 3.69 MB / 0.6351 GB, free: 3.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009769/0.8784, allocations: 1.028 MB / 0.6361 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/0.8797, allocations: 1.013 MB / 0.6371 GB, free: 1.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.436e-05/0.8797, allocations: 305.1 kB / 0.6374 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.8823, allocations: 2.138 MB / 0.6395 GB, free: 15.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005564/0.8879, allocations: 4.704 MB / 0.6441 GB, free: 9.457 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009254/0.8972, allocations: 7.364 MB / 0.6513 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.521e-05/0.8972, allocations: 28 kB / 0.6513 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of matching and sorting (n=672) (initialization): time 0.01446/0.9117, allocations: 8.098 MB / 0.6592 GB, free: 8.727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.154e-05/0.9118, allocations: 40 kB / 0.6593 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.9119, allocations: 88 kB / 0.6593 GB, free: 8.602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003831/0.9157, allocations: 1.383 MB / 0.6607 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/0.9196, allocations: 1.127 MB / 0.6618 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/0.9351, allocations: 11.15 MB / 0.6727 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/0.9394, allocations: 319.4 kB / 0.673 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007761/0.9401, allocations: 288 kB / 0.6733 GB, free: 10.1 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.004318/0.9445, allocations: 2.584 MB / 0.6758 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009649/0.9454, allocations: 417.3 kB / 0.6762 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009659/0.9551, allocations: 5.395 MB / 0.6814 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.9551, allocations: 32 kB / 0.6815 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/0.9551, allocations: 12 kB / 0.6815 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.23e-05/0.9551, allocations: 15.94 kB / 0.6815 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/0.9762, allocations: 11.81 MB / 0.693 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/0.9762, allocations: 12.97 kB / 0.6931 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/0.9783, allocations: 0.4926 MB / 0.6935 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003603/0.9819, allocations: 1.276 MB / 0.6948 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003659/0.9822, allocations: 83.92 kB / 0.6949 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.9973, allocations: 10.95 MB / 0.7056 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.173e-05/0.9973, allocations: 15.94 kB / 0.7056 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/1.012, allocations: 8.278 MB / 0.7137 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002508/1.014, allocations: 0.8329 MB / 0.7145 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008483/1.015, allocations: 68 kB / 0.7145 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/1.017, allocations: 171.8 kB / 0.7147 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006015/1.017, allocations: 277.5 kB / 0.715 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/1.018, allocations: 95.98 kB / 0.7151 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003935/1.022, allocations: 2.529 MB / 0.7175 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.022, allocations: 0 / 0.7175 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005268/1.027, allocations: 1.387 MB / 0.7189 GB, free: 10.5 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.014/1.041, allocations: 8.999 MB / 0.7277 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.052, allocations: 5.824 MB / 0.7334 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.873e-05/1.052, allocations: 0 / 0.7334 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005546/1.057, allocations: 2.776 MB / 0.7361 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/1.062, allocations: 1.008 MB / 0.737 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2883/1.351, allocations: 49.59 MB / 0.7855 GB, free: 162.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004272/1.355, allocations: 4.114 MB / 0.7895 GB, free: 158.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003351/1.358, allocations: 1.371 MB / 0.7908 GB, free: 157.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003283/1.361, allocations: 2.62 MB / 0.7934 GB, free: 154.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.325e-06/1.361, allocations: 0 / 0.7934 GB, free: 154.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1523/1.514, allocations: 118.5 MB / 0.9091 GB, free: 37.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.03/22.54, allocations: 12.02 kB / 0.9091 GB, free: 37.17 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: 25.78942771605216]