Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009431/0.0009431, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 142.3 kB / 24.97 MB, free: 8.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8851/0.8851, allocations: 173.4 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_4.0.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.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.939e-05, allocations: 2.312 kB / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01453/0.01455, allocations: 16.35 MB / 284.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007826/0.02238, allocations: 5.328 MB / 289.8 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.02368, allocations: 127.2 kB / 289.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1086/0.1323, allocations: 1.238 MB / 291.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.137, allocations: 1.701 MB / 292.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.1389, allocations: 1.047 MB / 293.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005034/0.144, allocations: 5.292 MB / 299.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002914/0.1469, allocations: 2.228 MB / 301.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.1508, allocations: 3.34 MB / 304.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/0.1537, allocations: 2.406 MB / 307.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008865/0.1546, allocations: 0.6108 MB / 307.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.1559, allocations: 0.8275 MB / 308.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008688/0.1567, allocations: 1.489 MB / 310.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.1584, allocations: 1.805 MB / 311.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003523/0.1619, allocations: 4.271 MB / 316.2 MB, free: 6.289 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1619, allocations: 0 / 316.2 MB, free: 6.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1619, allocations: 0 / 316.2 MB, free: 6.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.579e-05/0.162, allocations: 0 / 316.2 MB, free: 6.289 MB / 266.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.007766/0.1698, allocations: 5.648 MB / 321.8 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1698, allocations: 8.922 kB / 321.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.1743, allocations: 1.518 MB / 323.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.1777, allocations: 2.816 MB / 326.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.1779, allocations: 299.1 kB / 326.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/0.1783, allocations: 400.3 kB / 326.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.1823, allocations: 3.199 MB / 330 MB, free: 8.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.217e-05/0.1824, allocations: 3.953 kB / 330 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.1826, allocations: 170.6 kB / 330.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.1827, allocations: 168 kB / 330.4 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.1857, allocations: 1.519 MB / 331.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.1983, allocations: 13.48 MB / 345.4 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/0.2011, allocations: 2.374 MB / 347.7 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.2023, allocations: 0.8866 MB / 348.6 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003746/0.2061, allocations: 3.043 MB / 351.7 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.2061, allocations: 54.7 kB / 351.7 MB, free: 2.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=157): time 2.625e-06/0.2061, allocations: 4 kB / 351.7 MB, free: 2.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=160): time 0.005005/0.2111, allocations: 3.614 MB / 355.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.2112, allocations: 72.7 kB / 355.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.2128, allocations: 1.828 MB / 357.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.2129, allocations: 49.7 kB / 357.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009236/0.2138, allocations: 2.014 MB / 359.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.2141, allocations: 0.5804 MB / 359.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.2146, allocations: 417.7 kB / 360.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.2146, allocations: 484.7 kB / 360.8 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.2152, allocations: 300.1 kB / 361.1 MB, free: 9.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/0.2162, allocations: 1.348 MB / 362.4 MB, free: 7.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.2178, allocations: 1.805 MB / 364.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.2178, allocations: 8 kB / 364.2 MB, free: 5.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002133/0.2199, allocations: 1.808 MB / 366 MB, free: 3.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.22, allocations: 16.12 kB / 366 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.22, allocations: 24 kB / 366.1 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/0.2202, allocations: 95.33 kB / 366.2 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.2213, allocations: 0.5298 MB / 366.7 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.2223, allocations: 2.2 MB / 368.9 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/0.223, allocations: 108 kB / 369 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.2231, allocations: 95.98 kB / 369.1 MB, free: 0.5938 MB / 314.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 (269): * Single equations (assignments): 267 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005272/0.2236, allocations: 305.2 kB / 369.4 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.2238, allocations: 286.5 kB / 369.7 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.2257, allocations: 1.359 MB / 371 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.2257, allocations: 15.94 kB / 371 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2257, allocations: 8 kB / 371.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.2257, allocations: 7.969 kB / 371.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/0.2302, allocations: 3.973 MB / 375 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2302, allocations: 4 kB / 375 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.2309, allocations: 281 kB / 375.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/0.2314, allocations: 264.9 kB / 375.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.2315, allocations: 39.98 kB / 375.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003715/0.2352, allocations: 7.187 MB / 382.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2352, allocations: 4 kB / 382.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.2375, allocations: 1.863 MB / 384.7 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.2379, allocations: 394.3 kB / 385 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.2381, allocations: 39.92 kB / 385.1 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.2386, allocations: 75.94 kB / 385.2 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.2388, allocations: 121.1 kB / 385.3 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.2389, allocations: 44.34 kB / 385.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001015/0.2399, allocations: 1.023 MB / 386.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2399, allocations: 0 / 386.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00124/0.2411, allocations: 0.664 MB / 387 MB, free: 14.29 MB / 346.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 (132): * Single equations (assignments): 129 * 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,5,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.0002545/0.2414, allocations: 180.2 kB / 387.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.243, allocations: 1.306 MB / 388.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.243, allocations: 0 / 388.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.244, allocations: 1.162 MB / 389.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.2453, allocations: 0.5189 MB / 390.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/0.2521, allocations: 6.088 MB / 396.3 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.2528, allocations: 0.9373 MB / 397.2 MB, free: 4.062 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000922/0.2537, allocations: 466.7 kB / 397.7 MB, free: 3.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.254, allocations: 156.5 kB / 397.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.254, allocations: 0 / 397.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of Templates: time 0.03476/0.2888, allocations: 29.21 MB / 427 MB, free: 6.746 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9687647288665175]