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.001306/0.001306, allocations: 82.28 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001449/0.001449, allocations: 151.4 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.395/1.395, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.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.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.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.035e-05, allocations: 6.219 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01656/0.01658, allocations: 14.51 MB / 333.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.02792, allocations: 5.145 MB / 338.6 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.03101, allocations: 126.5 kB / 338.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.03473, allocations: 1.248 MB / 340 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.04009, allocations: 1.687 MB / 341.7 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.04267, allocations: 1.039 MB / 342.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007044/0.04971, allocations: 5.31 MB / 348 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003515/0.05323, allocations: 2.223 MB / 350.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005513/0.05874, allocations: 3.306 MB / 353.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.06211, allocations: 2.198 MB / 355.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008615/0.06298, allocations: 0.6133 MB / 356.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.06457, allocations: 0.8199 MB / 357.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.06594, allocations: 1.472 MB / 358.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002358/0.0683, allocations: 1.789 MB / 360.4 MB, free: 2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009392/0.07769, allocations: 8.18 MB / 368.6 MB, free: 9.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.0777, allocations: 0 / 368.6 MB, free: 9.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.0777, allocations: 0 / 368.6 MB, free: 9.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001807/0.07788, allocations: 4 kB / 368.6 MB, free: 9.793 MB / 334.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.01588/0.09376, allocations: 5.37 MB / 374 MB, free: 4.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.09381, allocations: 12.92 kB / 374 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00594/0.09975, allocations: 1.009 MB / 375 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006669/0.1064, allocations: 2.905 MB / 377.9 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.1067, allocations: 304.5 kB / 378.2 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009686/0.1077, allocations: 400.3 kB / 378.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.1189, allocations: 5.368 MB / 384 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.553e-05/0.119, allocations: 3.953 kB / 384 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005062/0.1195, allocations: 168 kB / 384.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001946/0.1197, allocations: 168 kB / 384.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00928/0.129, allocations: 4.455 MB / 388.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0267/0.1557, allocations: 14.33 MB / 403.1 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006059/0.1617, allocations: 3.187 MB / 406.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.1647, allocations: 1.553 MB / 407.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008248/0.1729, allocations: 3.879 MB / 411.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.173, allocations: 59.75 kB / 411.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 4.238e-06/0.173, allocations: 0 / 411.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=160): time 0.01286/0.1858, allocations: 5.69 MB / 417.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1859, allocations: 72.72 kB / 417.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.1892, allocations: 2.084 MB / 419.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.1895, allocations: 49.7 kB / 419.7 MB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.191, allocations: 1.911 MB / 421.6 MB, free: 4.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006089/0.1916, allocations: 0.5655 MB / 422.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006408/0.1922, allocations: 387.9 kB / 422.5 MB, free: 3.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1923, allocations: 313.1 kB / 422.8 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.1939, allocations: 0.8397 MB / 423.7 MB, free: 2.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.1961, allocations: 1.588 MB / 425.2 MB, free: 168 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004016/0.2001, allocations: 2.554 MB / 427.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/0.2001, allocations: 8 kB / 427.8 MB, free: 13.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005447/0.2056, allocations: 2.798 MB / 430.6 MB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.2056, allocations: 16 kB / 430.6 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/0.2056, allocations: 24 kB / 430.6 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003526/0.206, allocations: 125.6 kB / 430.8 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.2081, allocations: 0.5344 MB / 431.3 MB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.21, allocations: 1.851 MB / 433.1 MB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.2118, allocations: 123.9 kB / 433.3 MB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.2119, allocations: 99.92 kB / 433.4 MB, free: 7.594 MB / 398.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 (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.002202/0.2141, allocations: 1.192 MB / 434.6 MB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005103/0.2146, allocations: 234.5 kB / 434.8 MB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.2192, allocations: 2.269 MB / 437.1 MB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.2192, allocations: 20 kB / 437.1 MB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.2192, allocations: 8 kB / 437.1 MB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.2192, allocations: 7.969 kB / 437.1 MB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00912/0.2284, allocations: 4.766 MB / 441.9 MB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2284, allocations: 0 / 441.9 MB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.2297, allocations: 287.8 kB / 442.1 MB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008791/0.2306, allocations: 310.3 kB / 442.4 MB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.2307, allocations: 43.97 kB / 442.5 MB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007146/0.2379, allocations: 6.496 MB / 449 MB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2379, allocations: 4.156 kB / 449 MB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006074/0.2439, allocations: 3.392 MB / 452.4 MB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.245, allocations: 418.3 kB / 452.8 MB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.2453, allocations: 32 kB / 452.8 MB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.2464, allocations: 84.11 kB / 452.9 MB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.2467, allocations: 121 kB / 453 MB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.2468, allocations: 51.92 kB / 453.1 MB, free: 3.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002313/0.2491, allocations: 1.383 MB / 454.5 MB, free: 2.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2491, allocations: 0 / 454.5 MB, free: 2.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0022/0.2513, allocations: 0.6639 MB / 455.1 MB, free: 1.352 MB / 414.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 (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.0004025/0.2517, allocations: 175 kB / 455.3 MB, free: 1.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003937/0.2557, allocations: 2.116 MB / 457.4 MB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.2557, allocations: 0.9375 kB / 457.4 MB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002285/0.258, allocations: 1.366 MB / 458.8 MB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.2604, allocations: 0.4897 MB / 459.3 MB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.2725, allocations: 6.802 MB / 466.1 MB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002561/0.2751, allocations: 2.133 MB / 468.2 MB, free: 4.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001752/0.2768, allocations: 0.5261 MB / 468.7 MB, free: 3.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.2773, allocations: 148.5 kB / 468.9 MB, free: 3.457 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2773, allocations: 0 / 468.9 MB, free: 3.457 MB / 430.1 MB Notification: Performance of Templates: time 0.1978/0.4751, allocations: 29.08 MB / 497.9 MB, free: 117.9 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.002437669783831]