Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.001483/0.001483, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006619/0.006619, allocations: 160.7 kB / 24.7 MB, free: 9.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8869/0.8869, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 325.9 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.425e-05, allocations: 2.281 kB / 325.9 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01161/0.01163, allocations: 15.07 MB / 340.9 MB, free: 168 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008801/0.02043, allocations: 5.421 MB / 346.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.02204, allocations: 127.2 kB / 346.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.02411, allocations: 1.262 MB / 347.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.02707, allocations: 1.677 MB / 349.4 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.02854, allocations: 1.075 MB / 350.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.03238, allocations: 5.418 MB / 355.9 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.03462, allocations: 2.223 MB / 358.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.03737, allocations: 3.329 MB / 361.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.03967, allocations: 2.201 MB / 363.7 MB, free: 9.281 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00044/0.04011, allocations: 0.6172 MB / 364.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009559/0.04107, allocations: 0.8433 MB / 365.1 MB, free: 7.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007619/0.04183, allocations: 1.464 MB / 366.6 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.04299, allocations: 1.793 MB / 368.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005363/0.04836, allocations: 8.219 MB / 376.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.04836, allocations: 0 / 376.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04836, allocations: 4 kB / 376.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.458e-05/0.04842, allocations: 0 / 376.6 MB, free: 12.31 MB / 346.7 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.006963/0.05538, allocations: 5.402 MB / 382 MB, free: 6.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.05542, allocations: 12.03 kB / 382 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.05797, allocations: 1.021 MB / 383 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/0.06162, allocations: 2.944 MB / 386 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.06176, allocations: 308.4 kB / 386.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/0.06213, allocations: 396.3 kB / 386.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00549/0.06761, allocations: 5.375 MB / 392 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-05/0.06767, allocations: 7.891 kB / 392 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005174/0.06819, allocations: 176 kB / 392.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.06829, allocations: 164 kB / 392.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004748/0.07304, allocations: 4.458 MB / 396.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01364/0.08668, allocations: 14.35 MB / 411.2 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/0.09016, allocations: 3.231 MB / 414.4 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.09234, allocations: 1.994 MB / 416.4 MB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004623/0.09696, allocations: 4.147 MB / 420.6 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.09699, allocations: 55.8 kB / 420.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=157): time 2.645e-06/0.097, allocations: 0 / 420.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=160): time 0.007262/0.1043, allocations: 5.877 MB / 426.5 MB, free: 9.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1043, allocations: 76.7 kB / 426.6 MB, free: 9.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.1064, allocations: 2.106 MB / 428.7 MB, free: 7.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.1064, allocations: 53.7 kB / 428.7 MB, free: 7.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000808/0.1072, allocations: 1.919 MB / 430.6 MB, free: 5.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.1075, allocations: 0.5732 MB / 431.2 MB, free: 5.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/0.1079, allocations: 391.9 kB / 431.6 MB, free: 4.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.108, allocations: 309.1 kB / 431.9 MB, free: 4.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008882/0.1089, allocations: 0.8592 MB / 432.8 MB, free: 3.449 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.1101, allocations: 1.6 MB / 434.4 MB, free: 1.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.1125, allocations: 2.582 MB / 436.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.1125, allocations: 8 kB / 436.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003258/0.1158, allocations: 2.881 MB / 439.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.1158, allocations: 16 kB / 439.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.1159, allocations: 24.53 kB / 439.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.1162, allocations: 181.5 kB / 440 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.1173, allocations: 0.5304 MB / 440.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.1197, allocations: 2.288 MB / 442.9 MB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.1211, allocations: 111.9 kB / 443 MB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.1213, allocations: 103.9 kB / 443.1 MB, free: 8.355 MB / 410.7 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.002123/0.1234, allocations: 1.195 MB / 444.3 MB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.1237, allocations: 242.4 kB / 444.5 MB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.1264, allocations: 2.351 MB / 446.9 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.1264, allocations: 16 kB / 446.9 MB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1264, allocations: 8 kB / 446.9 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.1264, allocations: 11.97 kB / 446.9 MB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1525/0.2789, allocations: 4.868 MB / 451.8 MB, free: 111 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.2789, allocations: 2.453 kB / 451.8 MB, free: 111 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009637/0.2799, allocations: 279.1 kB / 452 MB, free: 111 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006615/0.2806, allocations: 370.3 kB / 452.4 MB, free: 111 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.958e-05/0.2807, allocations: 41.78 kB / 452.4 MB, free: 111 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/0.2842, allocations: 6.93 MB / 459.4 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2842, allocations: 5.969 kB / 459.4 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/0.2873, allocations: 3.483 MB / 462.9 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.2878, allocations: 414.7 kB / 463.3 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.2879, allocations: 35.47 kB / 463.3 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.2884, allocations: 83.88 kB / 463.4 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.2886, allocations: 122.4 kB / 463.5 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.2886, allocations: 49.05 kB / 463.5 MB, free: 104.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001188/0.2898, allocations: 1.4 MB / 464.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2898, allocations: 0 / 464.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001338/0.2911, allocations: 0.6771 MB / 465.6 MB, free: 103.8 MB / 410.7 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.0002373/0.2914, allocations: 186.4 kB / 465.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.2933, allocations: 2.166 MB / 468 MB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2933, allocations: 3.938 kB / 468 MB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.2943, allocations: 1.407 MB / 469.4 MB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.2954, allocations: 0.5047 MB / 469.9 MB, free: 101.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/0.3009, allocations: 6.799 MB / 476.7 MB, free: 95.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.302, allocations: 2.069 MB / 478.8 MB, free: 93.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.3023, allocations: 184.5 kB / 478.9 MB, free: 93.22 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.3023, allocations: 0 / 478.9 MB, free: 93.22 MB / 410.7 MB Notification: Performance of Templates: time 0.04479/0.3471, allocations: 96.63 MB / 0.5621 GB, free: 12.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.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: 8.493591816164553]