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.001007/0.001007, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009038/0.0009038, allocations: 148.9 kB / 24.81 MB, free: 9.27 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.941/0.941, allocations: 173.3 MB / 201.4 MB, free: 9.23 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.743e-06/1.743e-06, allocations: 0 / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.39e-05, allocations: 2.312 kB / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01278/0.01279, allocations: 15.87 MB / 284.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007977/0.02077, allocations: 5.312 MB / 289.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.02322, allocations: 123.3 kB / 289.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1271/0.1503, allocations: 1.244 MB / 291 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005489/0.1558, allocations: 1.71 MB / 292.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.1588, allocations: 1.021 MB / 293.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007726/0.1665, allocations: 5.296 MB / 299 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.1698, allocations: 2.227 MB / 301.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006465/0.1763, allocations: 3.66 MB / 304.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003868/0.1802, allocations: 2.495 MB / 307.4 MB, free: 11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.1812, allocations: 0.6055 MB / 308 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.1829, allocations: 0.819 MB / 308.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007763/0.1837, allocations: 1.46 MB / 310.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002406/0.1861, allocations: 1.798 MB / 312.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.1902, allocations: 4.223 MB / 316.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1902, allocations: 3.984 kB / 316.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1902, allocations: 4 kB / 316.3 MB, free: 5.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001268/0.1904, allocations: 0 / 316.3 MB, free: 5.75 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.00677/0.1971, allocations: 5.463 MB / 321.8 MB, free: 484 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1972, allocations: 8.922 kB / 321.8 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/0.2002, allocations: 1.381 MB / 323.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004443/0.2046, allocations: 2.676 MB / 325.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.2048, allocations: 305.1 kB / 326.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/0.2053, allocations: 410.8 kB / 326.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.2094, allocations: 2.928 MB / 329.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-05/0.2094, allocations: 4 kB / 329.5 MB, free: 8.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.2097, allocations: 167.9 kB / 329.6 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.2098, allocations: 172 kB / 329.8 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.212, allocations: 1.19 MB / 331 MB, free: 7.344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01651/0.2285, allocations: 13.37 MB / 344.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.231, allocations: 2.217 MB / 346.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009967/0.2319, allocations: 0.7867 MB / 347.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00432/0.2363, allocations: 2.938 MB / 350.3 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.2363, allocations: 54.7 kB / 350.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=157): time 4.308e-06/0.2363, allocations: 0 / 350.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=160): time 0.005236/0.2415, allocations: 2.899 MB / 353.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.2416, allocations: 72.7 kB / 353.3 MB, free: 1.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.2435, allocations: 1.774 MB / 355.1 MB, free: 260 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.2436, allocations: 57.7 kB / 355.2 MB, free: 196 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.2449, allocations: 2.023 MB / 357.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/0.2454, allocations: 0.5921 MB / 357.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.2458, allocations: 427 kB / 358.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2459, allocations: 476.8 kB / 358.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.2464, allocations: 232.1 kB / 358.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.2472, allocations: 1.291 MB / 360.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.2486, allocations: 1.7 MB / 361.9 MB, free: 8.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/0.2486, allocations: 8 kB / 361.9 MB, free: 8.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002289/0.2509, allocations: 1.646 MB / 363.5 MB, free: 7.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.2509, allocations: 20.52 kB / 363.5 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.251, allocations: 24 kB / 363.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.2512, allocations: 94.89 kB / 363.7 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.2522, allocations: 0.5083 MB / 364.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.2534, allocations: 2.161 MB / 366.3 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.2545, allocations: 95.98 kB / 366.4 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.2546, allocations: 76 kB / 366.5 MB, free: 4.383 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.0008275/0.2554, allocations: 303.5 kB / 366.8 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.2557, allocations: 286.5 kB / 367.1 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.2572, allocations: 1.236 MB / 368.3 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.2572, allocations: 19.94 kB / 368.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2573, allocations: 4 kB / 368.3 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.2573, allocations: 11.97 kB / 368.3 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/0.2616, allocations: 3.173 MB / 371.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2616, allocations: 4 kB / 371.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/0.2623, allocations: 265.9 kB / 371.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/0.2628, allocations: 262.5 kB / 372 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/0.2629, allocations: 43.92 kB / 372.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.2669, allocations: 7.049 MB / 379.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2669, allocations: 4 kB / 379.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.2694, allocations: 1.693 MB / 380.8 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/0.2701, allocations: 377.5 kB / 381.2 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.2703, allocations: 35.98 kB / 381.2 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.2708, allocations: 59.97 kB / 381.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.271, allocations: 121 kB / 381.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.271, allocations: 39.92 kB / 381.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000923/0.272, allocations: 0.9221 MB / 382.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.272, allocations: 0 / 382.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001987/0.2739, allocations: 0.664 MB / 383 MB, free: 3.926 MB / 330.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.0003697/0.2743, allocations: 180.5 kB / 383.2 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.2761, allocations: 1.179 MB / 384.4 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.2761, allocations: 4 kB / 384.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.2772, allocations: 1.105 MB / 385.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.2791, allocations: 0.5113 MB / 386 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009184/0.2882, allocations: 6.04 MB / 392 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/0.289, allocations: 0.9334 MB / 393 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001016/0.29, allocations: 322.5 kB / 393.3 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008893/0.2909, allocations: 0.5838 MB / 393.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of SimCode: time 3.537e-06/0.2909, allocations: 0 / 393.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of Templates: time 0.04574/0.3367, allocations: 31.04 MB / 424.9 MB, free: 10.63 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.8942775619216263]