Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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.001399/0.001399, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.0017/0.0017, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.426/1.426, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 59.91 kB / 377.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2464, allocations: 53.41 MB / 431.2 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02002/0.2664, allocations: 15.05 MB / 446.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.2796, allocations: 5.398 MB / 451.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003695/0.2833, allocations: 127.2 kB / 451.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004398/0.2877, allocations: 1.266 MB / 453 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006469/0.2942, allocations: 1.619 MB / 454.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.298, allocations: 1.078 MB / 455.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008849/0.3069, allocations: 5.242 MB / 460.9 MB, free: 8.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005634/0.3125, allocations: 2.208 MB / 463.1 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.3174, allocations: 2.251 MB / 465.4 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006172/0.3236, allocations: 2.506 MB / 467.9 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002316/0.3259, allocations: 0.6133 MB / 468.5 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.3292, allocations: 0.8435 MB / 469.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.3316, allocations: 1.429 MB / 470.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006614/0.3382, allocations: 2.104 MB / 472.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.3513, allocations: 8.199 MB / 481.1 MB, free: 4.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3513, allocations: 4 kB / 481.1 MB, free: 4.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3513, allocations: 0 / 481.1 MB, free: 4.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002392/0.3515, allocations: 0 / 481.1 MB, free: 4.211 MB / 382.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.01689/0.3684, allocations: 5.447 MB / 486.5 MB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.3685, allocations: 15.98 kB / 486.6 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001959/0.3704, allocations: 0.6066 MB / 487.2 MB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006677/0.3771, allocations: 1.028 MB / 488.2 MB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009212/0.3863, allocations: 2.938 MB / 491.1 MB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/0.3867, allocations: 304 kB / 491.4 MB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.3882, allocations: 396 kB / 491.8 MB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.4038, allocations: 5.387 MB / 497.2 MB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.404, allocations: 0 / 497.2 MB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001357/0.4054, allocations: 164 kB / 497.4 MB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002464/0.4056, allocations: 176 kB / 497.5 MB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.4183, allocations: 4.455 MB / 0.4902 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03557/0.4539, allocations: 14.93 MB / 0.5048 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007039/0.461, allocations: 3.229 MB / 0.508 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004641/0.4656, allocations: 1.979 MB / 0.5099 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/0.4765, allocations: 4.198 MB / 0.514 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.439e-05/0.4765, allocations: 51.88 kB / 0.514 GB, free: 6.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.599e-06/0.4766, allocations: 0 / 0.514 GB, free: 6.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01474/0.4913, allocations: 5.897 MB / 0.5198 GB, free: 424 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.4914, allocations: 68.72 kB / 0.5199 GB, free: 344 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005104/0.4965, allocations: 2.354 MB / 0.5222 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.4967, allocations: 53.7 kB / 0.5222 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001761/0.4984, allocations: 1.916 MB / 0.5241 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006326/0.4991, allocations: 0.5772 MB / 0.5246 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007472/0.4998, allocations: 395.9 kB / 0.525 GB, free: 10.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4999, allocations: 309 kB / 0.5253 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.5017, allocations: 0.8631 MB / 0.5262 GB, free: 9.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.504, allocations: 1.592 MB / 0.5277 GB, free: 7.891 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/0.5082, allocations: 2.582 MB / 0.5302 GB, free: 4.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.5082, allocations: 8 kB / 0.5302 GB, free: 4.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005673/0.5138, allocations: 2.904 MB / 0.5331 GB, free: 2.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.5139, allocations: 12.53 kB / 0.5331 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.375e-05/0.5139, allocations: 27.94 kB / 0.5331 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.5144, allocations: 189.5 kB / 0.5333 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.5166, allocations: 0.5304 MB / 0.5338 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2199/0.7365, allocations: 2.297 MB / 0.5361 GB, free: 96.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.7386, allocations: 120.4 kB / 0.5362 GB, free: 96.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.7389, allocations: 97.48 kB / 0.5363 GB, free: 96.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002118/0.741, allocations: 1.196 MB / 0.5374 GB, free: 96.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/0.7416, allocations: 257.3 kB / 0.5377 GB, free: 96.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/0.7461, allocations: 2.371 MB / 0.54 GB, free: 95.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.7462, allocations: 20 kB / 0.54 GB, free: 95.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.7462, allocations: 9.344 kB / 0.54 GB, free: 95.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/0.7462, allocations: 7.641 kB / 0.54 GB, free: 95.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009767/0.756, allocations: 5.397 MB / 0.5453 GB, free: 93.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.756, allocations: 0 / 0.5453 GB, free: 93.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.7572, allocations: 284.7 kB / 0.5456 GB, free: 93.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008214/0.758, allocations: 360.4 kB / 0.5459 GB, free: 93.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/0.7581, allocations: 42.95 kB / 0.546 GB, free: 93.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00557/0.7637, allocations: 7.008 MB / 0.5528 GB, free: 87.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7637, allocations: 0 / 0.5528 GB, free: 87.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/0.7687, allocations: 3.507 MB / 0.5562 GB, free: 86.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.7699, allocations: 447.6 kB / 0.5567 GB, free: 85.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.7702, allocations: 36 kB / 0.5567 GB, free: 85.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.7713, allocations: 81.14 kB / 0.5568 GB, free: 85.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/0.7716, allocations: 132.1 kB / 0.5569 GB, free: 85.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/0.7717, allocations: 43.8 kB / 0.5569 GB, free: 85.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001928/0.7736, allocations: 1.562 MB / 0.5585 GB, free: 84.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7736, allocations: 0 / 0.5585 GB, free: 84.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002055/0.7757, allocations: 0.6795 MB / 0.5591 GB, free: 83.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (129): * Single equations (assignments): 126 * 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 {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005056/0.7807, allocations: 4.144 MB / 0.5632 GB, free: 80.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00353/0.7842, allocations: 2.15 MB / 0.5653 GB, free: 77.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.7842, allocations: 1.422 kB / 0.5653 GB, free: 77.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.7862, allocations: 1.42 MB / 0.5667 GB, free: 76.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/0.7891, allocations: 0.6146 MB / 0.5673 GB, free: 75.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03768/0.8268, allocations: 24.31 MB / 0.591 GB, free: 50.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.8292, allocations: 2.139 MB / 0.5931 GB, free: 48.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001775/0.8309, allocations: 0.5554 MB / 0.5936 GB, free: 48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/0.8327, allocations: 1.476 MB / 0.5951 GB, free: 46.53 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/0.8327, allocations: 0 / 0.5951 GB, free: 46.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3073/1.14, allocations: 63.45 MB / 0.657 GB, free: 15.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/16.11, allocations: 3.953 kB / 0.657 GB, free: 15.61 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 28.189595916774124]