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.001397/0.001397, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001524/0.001524, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.493/1.493, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.002066/0.002066, allocations: 67.89 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 53.37 MB / 427.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2274/0.3331, allocations: 31.11 MB / 458.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02263/0.3557, allocations: 8.92 MB / 467.1 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007321/0.363, allocations: 225.7 kB / 467.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01329/0.3763, allocations: 4.997 MB / 472.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.3875, allocations: 3.055 MB / 475.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005549/0.3931, allocations: 1.634 MB / 477 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01405/0.4071, allocations: 8.808 MB / 485.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01809/0.4252, allocations: 9.96 MB / 495.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008807/0.434, allocations: 4.316 MB / 0.4884 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009006/0.443, allocations: 4.882 MB / 0.4931 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003637/0.4466, allocations: 1.164 MB / 0.4943 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005877/0.4525, allocations: 1.546 MB / 0.4958 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0043/0.4568, allocations: 2.423 MB / 0.4982 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009839/0.4667, allocations: 4.684 MB / 0.5027 GB, free: 8.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02293/0.4896, allocations: 15.88 MB / 0.5182 GB, free: 8.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4896, allocations: 0 / 0.5182 GB, free: 8.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4896, allocations: 0 / 0.5182 GB, free: 8.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004051/0.49, allocations: 0 / 0.5182 GB, free: 8.914 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.0312/0.5212, allocations: 9.979 MB / 0.528 GB, free: 14.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.5212, allocations: 12.03 kB / 0.528 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002734/0.5215, allocations: 220.7 kB / 0.5282 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004852/0.5264, allocations: 1.149 MB / 0.5293 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03058/0.557, allocations: 5.231 MB / 0.5344 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/0.569, allocations: 5.138 MB / 0.5395 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006307/0.5697, allocations: 0.5377 MB / 0.54 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002759/0.5724, allocations: 0.703 MB / 0.5407 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03002/0.6024, allocations: 11.36 MB / 0.5518 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004578/0.6029, allocations: 27.83 kB / 0.5518 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002579/0.6055, allocations: 297 kB / 0.5521 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005915/0.6061, allocations: 447 kB / 0.5525 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0265/0.6326, allocations: 10.88 MB / 0.5631 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07557/0.7081, allocations: 38.62 MB / 0.6008 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2266/0.9348, allocations: 27.98 MB / 0.6281 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004719/0.9395, allocations: 2.461 MB / 0.6306 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01665/0.9561, allocations: 8.484 MB / 0.6388 GB, free: 139.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.9562, allocations: 61.23 kB / 0.6389 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=221): time 4.779e-06/0.9562, allocations: 0 / 0.6389 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=279): time 0.04355/0.9997, allocations: 17.41 MB / 0.6559 GB, free: 132.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.9998, allocations: 83.73 kB / 0.656 GB, free: 132.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00764/1.007, allocations: 3.846 MB / 0.6597 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000533/1.008, allocations: 71.86 kB / 0.6598 GB, free: 131 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002804/1.011, allocations: 3.69 MB / 0.6634 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.012, allocations: 1.019 MB / 0.6644 GB, free: 127.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00287/1.015, allocations: 1.018 MB / 0.6654 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/1.015, allocations: 305.1 kB / 0.6657 GB, free: 126.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/1.019, allocations: 2.137 MB / 0.6678 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004148/1.023, allocations: 4.667 MB / 0.6723 GB, free: 121.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00752/1.03, allocations: 7.362 MB / 0.6795 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.88e-05/1.03, allocations: 23.84 kB / 0.6795 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=672) (initialization): time 0.01458/1.045, allocations: 8.093 MB / 0.6874 GB, free: 110.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/1.045, allocations: 44 kB / 0.6875 GB, free: 110.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/1.045, allocations: 89.59 kB / 0.6876 GB, free: 110.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/1.049, allocations: 1.382 MB / 0.6889 GB, free: 109.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/1.053, allocations: 1.131 MB / 0.69 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.065, allocations: 11.56 MB / 0.7013 GB, free: 96.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004936/1.07, allocations: 324.2 kB / 0.7016 GB, free: 95.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.071, allocations: 288 kB / 0.7019 GB, free: 95.68 MB / 0.5137 GB 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.004804/1.076, allocations: 2.577 MB / 0.7044 GB, free: 93.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/1.077, allocations: 421.3 kB / 0.7048 GB, free: 92.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008983/1.086, allocations: 5.402 MB / 0.7101 GB, free: 87.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/1.086, allocations: 28 kB / 0.7101 GB, free: 87.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-05/1.086, allocations: 12 kB / 0.7101 GB, free: 87.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-05/1.086, allocations: 15.94 kB / 0.7101 GB, free: 87.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/1.11, allocations: 12.4 MB / 0.7223 GB, free: 74.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/1.11, allocations: 12 kB / 0.7223 GB, free: 74.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/1.112, allocations: 0.4955 MB / 0.7228 GB, free: 74.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003575/1.115, allocations: 1.268 MB / 0.724 GB, free: 72.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005682/1.116, allocations: 75.97 kB / 0.7241 GB, free: 72.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/1.128, allocations: 11.37 MB / 0.7352 GB, free: 61.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/1.128, allocations: 15.94 kB / 0.7352 GB, free: 61.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/1.141, allocations: 8.274 MB / 0.7433 GB, free: 52.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/1.143, allocations: 0.8964 MB / 0.7441 GB, free: 51.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.145, allocations: 72.05 kB / 0.7442 GB, free: 51.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/1.148, allocations: 171.8 kB / 0.7444 GB, free: 51.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007743/1.148, allocations: 261.5 kB / 0.7446 GB, free: 51.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003054/1.149, allocations: 108 kB / 0.7447 GB, free: 50.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004509/1.153, allocations: 2.522 MB / 0.7472 GB, free: 48.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/1.153, allocations: 0 / 0.7472 GB, free: 48.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007291/1.16, allocations: 1.387 MB / 0.7485 GB, free: 46.98 MB / 0.5137 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.01347/1.174, allocations: 8.977 MB / 0.7573 GB, free: 37.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.184, allocations: 6.061 MB / 0.7632 GB, free: 31.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/1.184, allocations: 4 kB / 0.7632 GB, free: 31.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005312/1.19, allocations: 3.002 MB / 0.7662 GB, free: 28.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007656/1.197, allocations: 1.012 MB / 0.7672 GB, free: 27.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1074/1.305, allocations: 49.5 MB / 0.8155 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00933/1.314, allocations: 4.599 MB / 0.82 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005222/1.319, allocations: 1.373 MB / 0.8213 GB, free: 268 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2666/1.586, allocations: 2.622 MB / 0.8239 GB, free: 174.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.613e-06/1.586, allocations: 3.062 kB / 0.8239 GB, free: 174.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1869/1.773, allocations: 113.2 MB / 0.9344 GB, free: 91.94 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.4/21.17, allocations: 4.062 kB / 0.9344 GB, free: 91.94 MB / 0.545 GB " [Timeout remaining time 639] (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.669223259028513]