Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.001513/0.001513, allocations: 102.9 kB / 21.96 MB, free: 5.219 MB / 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.001716/0.001716, allocations: 214.5 kB / 25.26 MB, free: 3.129 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.318/1.318, allocations: 207.7 MB / 236.1 MB, free: 9.789 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.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="cs",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.001666/0.001666, allocations: 51.92 kB / 348 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2533, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01587/0.2692, allocations: 14.42 MB / 411.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.2803, allocations: 5.176 MB / 416.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/0.2838, allocations: 114.9 kB / 416.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.2878, allocations: 1.232 MB / 418.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006301/0.2941, allocations: 1.588 MB / 419.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.2977, allocations: 1.07 MB / 420.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007983/0.3057, allocations: 5.115 MB / 425.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003293/0.3089, allocations: 2.214 MB / 428.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.3124, allocations: 2.233 MB / 430.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/0.3164, allocations: 2.642 MB / 433 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.3175, allocations: 0.6133 MB / 433.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.3194, allocations: 0.8201 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.3207, allocations: 1.433 MB / 435.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002724/0.3234, allocations: 2.097 MB / 437.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008907/0.3324, allocations: 8.144 MB / 446.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3324, allocations: 0 / 446.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3324, allocations: 0 / 446.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000144/0.3325, allocations: 4 kB / 446.1 MB, free: 1.992 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.0126/0.3451, allocations: 5.411 MB / 451.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3452, allocations: 15.98 kB / 451.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001288/0.3453, allocations: 119.7 kB / 451.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009431/0.3462, allocations: 0.6066 MB / 452.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005136/0.3514, allocations: 1.017 MB / 453.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/0.3572, allocations: 2.749 MB / 456 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.3574, allocations: 300.1 kB / 456.3 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007339/0.3581, allocations: 399.9 kB / 456.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009393/0.3675, allocations: 5.368 MB / 462 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.691e-05/0.3676, allocations: 4 kB / 462 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003769/0.368, allocations: 160 kB / 462.2 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.3682, allocations: 172 kB / 462.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007827/0.376, allocations: 4.447 MB / 466.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/0.4029, allocations: 14.92 MB / 481.7 MB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/0.4085, allocations: 3.194 MB / 484.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002791/0.4113, allocations: 1.554 MB / 486.5 MB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008664/0.42, allocations: 3.916 MB / 490.4 MB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.4201, allocations: 51.88 kB / 490.4 MB, free: 5.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=158): time 4.048e-06/0.4201, allocations: 4 kB / 490.4 MB, free: 5.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=186): time 0.01729/0.4373, allocations: 7.242 MB / 497.7 MB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.4374, allocations: 73.34 kB / 497.8 MB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/0.442, allocations: 2.29 MB / 0.4883 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002751/0.4423, allocations: 57.7 kB / 0.4884 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.4439, allocations: 1.897 MB / 0.4902 GB, free: 9.367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007698/0.4447, allocations: 0.674 MB / 0.4909 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008447/0.4455, allocations: 428.5 kB / 0.4913 GB, free: 8.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4456, allocations: 305.1 kB / 0.4916 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.4474, allocations: 0.9455 MB / 0.4925 GB, free: 7.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/0.4499, allocations: 1.708 MB / 0.4942 GB, free: 4.969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004293/0.4542, allocations: 2.823 MB / 0.4969 GB, free: 1.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/0.4542, allocations: 4 kB / 0.4969 GB, free: 1.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.006123/0.4603, allocations: 3.24 MB / 0.5001 GB, free: 14.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.4604, allocations: 16 kB / 0.5001 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.503e-05/0.4604, allocations: 28 kB / 0.5002 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009849/0.4614, allocations: 326.8 kB / 0.5005 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/0.4636, allocations: 0.5655 MB / 0.501 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00611/0.4697, allocations: 4.761 MB / 0.5057 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.472, allocations: 123.9 kB / 0.5058 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003886/0.4724, allocations: 108 kB / 0.5059 GB, free: 8.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 277 * 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): 2 systems {(2,15,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002485/0.4749, allocations: 1.215 MB / 0.5071 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006645/0.4756, allocations: 266.3 kB / 0.5073 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005294/0.4809, allocations: 2.615 MB / 0.5099 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.4809, allocations: 23.94 kB / 0.5099 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.4809, allocations: 4 kB / 0.5099 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.4809, allocations: 11.97 kB / 0.5099 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.4924, allocations: 5.842 MB / 0.5156 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.4924, allocations: 4 kB / 0.5156 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.494, allocations: 351.8 kB / 0.516 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009597/0.4949, allocations: 354.5 kB / 0.5163 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.4951, allocations: 47.98 kB / 0.5163 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007468/0.5026, allocations: 6.832 MB / 0.523 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5026, allocations: 4.031 kB / 0.523 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006974/0.5095, allocations: 3.919 MB / 0.5269 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.5109, allocations: 482.1 kB / 0.5273 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006432/0.5115, allocations: 36 kB / 0.5273 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.513, allocations: 87.92 kB / 0.5274 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/0.5134, allocations: 145.7 kB / 0.5276 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.5135, allocations: 47.98 kB / 0.5276 GB, free: 1.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.5164, allocations: 1.556 MB / 0.5291 GB, free: 56 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5164, allocations: 0 / 0.5291 GB, free: 56 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002873/0.5193, allocations: 0.707 MB / 0.5298 GB, free: 15.34 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.strayReluctance.Phi.re,smee.stator.strayReluctance.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,15,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007458/0.5267, allocations: 4.542 MB / 0.5343 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005205/0.5319, allocations: 2.637 MB / 0.5368 GB, free: 8.086 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.5319, allocations: 4 kB / 0.5368 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002709/0.5346, allocations: 1.538 MB / 0.5383 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/0.538, allocations: 0.617 MB / 0.5389 GB, free: 5.887 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2232/0.7612, allocations: 25.45 MB / 0.5638 GB, free: 143.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002276/0.7635, allocations: 2.173 MB / 0.5659 GB, free: 143.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001841/0.7653, allocations: 0.5799 MB / 0.5665 GB, free: 143.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/0.7669, allocations: 1.492 MB / 0.5679 GB, free: 142.6 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7669, allocations: 3.969 kB / 0.5679 GB, free: 142.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/0.8675, allocations: 66.16 MB / 0.6325 GB, free: 89.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/17.52, allocations: 12.05 kB / 0.6326 GB, free: 89.23 MB / 478.1 MB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 652] Reference file matches [Calling sys.exit(0), Time elapsed: 34.14200793602504]