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.00137/0.00137, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001421/0.001421, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.25 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.88 kB / 373.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.11, allocations: 53.32 MB / 426.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2459/0.3559, allocations: 31.11 MB / 457.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0226/0.3785, allocations: 8.914 MB / 466.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006652/0.3851, allocations: 189.4 kB / 466.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01554/0.4007, allocations: 4.997 MB / 471.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.412, allocations: 3.068 MB / 475 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006003/0.418, allocations: 1.637 MB / 476.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01698/0.435, allocations: 8.804 MB / 485.4 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02041/0.4554, allocations: 9.955 MB / 495.4 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00781/0.4632, allocations: 4.25 MB / 499.6 MB, free: 8.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009412/0.4727, allocations: 4.886 MB / 0.4927 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003175/0.4758, allocations: 1.164 MB / 0.4938 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005123/0.4809, allocations: 1.546 MB / 0.4953 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003933/0.4849, allocations: 2.427 MB / 0.4977 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008934/0.4938, allocations: 4.673 MB / 0.5022 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02505/0.5189, allocations: 15.88 MB / 0.5178 GB, free: 9.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.5189, allocations: 0 / 0.5178 GB, free: 9.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5189, allocations: 0 / 0.5178 GB, free: 9.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005407/0.5194, allocations: 0 / 0.5178 GB, free: 9.652 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.03342/0.5528, allocations: 9.979 MB / 0.5275 GB, free: 15.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.5529, allocations: 8.031 kB / 0.5275 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004725/0.5576, allocations: 1.145 MB / 0.5286 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02969/0.5873, allocations: 5.22 MB / 0.5337 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01325/0.6006, allocations: 5.153 MB / 0.5388 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005868/0.6011, allocations: 0.5338 MB / 0.5393 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/0.604, allocations: 0.7069 MB / 0.54 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02832/0.6324, allocations: 11.36 MB / 0.5511 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002897/0.6327, allocations: 19.83 kB / 0.5511 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002079/0.6347, allocations: 300 kB / 0.5514 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005116/0.6352, allocations: 443 kB / 0.5518 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02529/0.6605, allocations: 10.87 MB / 0.5624 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07555/0.7361, allocations: 38.59 MB / 0.6001 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2316/0.9676, allocations: 27.99 MB / 0.6274 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004123/0.9718, allocations: 2.446 MB / 0.6298 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/0.9866, allocations: 8.454 MB / 0.6381 GB, free: 139 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.9866, allocations: 57.25 kB / 0.6381 GB, free: 139 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=217): time 5.4e-06/0.9866, allocations: 0 / 0.6381 GB, free: 139 MB / 0.5137 GB Notification: Performance of matching and sorting (n=233): time 0.01952/1.006, allocations: 10.48 MB / 0.6484 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001706/1.008, allocations: 2.009 MB / 0.6503 GB, free: 133 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005748/1.014, allocations: 3.842 MB / 0.6541 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002979/1.014, allocations: 66.23 kB / 0.6541 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001769/1.016, allocations: 3.69 MB / 0.6577 GB, free: 129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006302/1.016, allocations: 0.8584 MB / 0.6586 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/1.017, allocations: 0.9658 MB / 0.6595 GB, free: 127.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/1.018, allocations: 310.6 kB / 0.6598 GB, free: 127.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/1.02, allocations: 1.896 MB / 0.6617 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/1.023, allocations: 4.4 MB / 0.666 GB, free: 122.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006067/1.029, allocations: 6.795 MB / 0.6726 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.966e-05/1.029, allocations: 26.19 kB / 0.6726 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009599/1.039, allocations: 6.994 MB / 0.6795 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/1.039, allocations: 42.91 kB / 0.6795 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/1.039, allocations: 90.06 kB / 0.6796 GB, free: 114.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/1.041, allocations: 0.7443 MB / 0.6803 GB, free: 114.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/1.044, allocations: 1.117 MB / 0.6814 GB, free: 114.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/1.05, allocations: 5.641 MB / 0.6869 GB, free: 110.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/1.054, allocations: 309.3 kB / 0.6872 GB, free: 110.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006885/1.055, allocations: 279.8 kB / 0.6875 GB, free: 110.4 MB / 0.5137 GB 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.003791/1.059, allocations: 2.524 MB / 0.6899 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009508/1.06, allocations: 413.2 kB / 0.6903 GB, free: 107.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/1.066, allocations: 4.254 MB / 0.6945 GB, free: 103.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.066, allocations: 24 kB / 0.6945 GB, free: 103.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.066, allocations: 8 kB / 0.6945 GB, free: 103.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/1.066, allocations: 11.95 kB / 0.6945 GB, free: 103.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/1.086, allocations: 14.31 MB / 0.7085 GB, free: 89.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.086, allocations: 16.03 kB / 0.7085 GB, free: 89.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.088, allocations: 487.2 kB / 0.709 GB, free: 88.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/1.089, allocations: 0.6896 MB / 0.7097 GB, free: 87.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/1.09, allocations: 71.98 kB / 0.7097 GB, free: 87.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006922/1.097, allocations: 7.504 MB / 0.7171 GB, free: 80.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001221/1.098, allocations: 1.963 MB / 0.719 GB, free: 77.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008385/1.106, allocations: 6.757 MB / 0.7256 GB, free: 70.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/1.108, allocations: 0.8145 MB / 0.7264 GB, free: 70.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007445/1.109, allocations: 68.05 kB / 0.7264 GB, free: 70.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.111, allocations: 159.8 kB / 0.7266 GB, free: 69.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/1.111, allocations: 225.3 kB / 0.7268 GB, free: 69.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.111, allocations: 95.97 kB / 0.7269 GB, free: 69.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002972/1.114, allocations: 2.526 MB / 0.7294 GB, free: 67.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/1.114, allocations: 0 / 0.7294 GB, free: 67.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004557/1.119, allocations: 1.289 MB / 0.7306 GB, free: 65.75 MB / 0.5137 GB 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.008196/1.127, allocations: 7.449 MB / 0.7379 GB, free: 58.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006626/1.134, allocations: 4.972 MB / 0.7427 GB, free: 53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.134, allocations: 0 / 0.7427 GB, free: 53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/1.137, allocations: 2.265 MB / 0.745 GB, free: 50.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/1.141, allocations: 0.9961 MB / 0.7459 GB, free: 49.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05803/1.199, allocations: 46.17 MB / 0.791 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005033/1.204, allocations: 4.509 MB / 0.7954 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003838/1.208, allocations: 1.371 MB / 0.7968 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003773/1.212, allocations: 2.561 MB / 0.7993 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/1.212, allocations: 0 / 0.7993 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4529/1.665, allocations: 105.1 MB / 0.9019 GB, free: 127.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.89/22.55, allocations: 9.797 kB / 0.9019 GB, free: 127.2 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_2/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_2/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.70964640704915]