Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.00134/0.00134, allocations: 83.14 kB / 22 MB, free: 5.18 MB / 14.72 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.001408/0.001408, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 158.6 MB / 187 MB, free: 6.234 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 51.92 kB / 299.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01806/0.218, allocations: 14.44 MB / 363 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.2284, allocations: 5.192 MB / 368.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.2308, allocations: 115.2 kB / 368.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003573/0.2344, allocations: 1.231 MB / 369.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005019/0.2394, allocations: 1.584 MB / 371.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.2422, allocations: 1.068 MB / 372.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007225/0.2495, allocations: 5.11 MB / 377.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003533/0.253, allocations: 2.116 MB / 379.4 MB, free: 464 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.2563, allocations: 2.239 MB / 381.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004283/0.2605, allocations: 2.474 MB / 384.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.2617, allocations: 0.6133 MB / 384.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.2637, allocations: 0.8161 MB / 385.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.2651, allocations: 1.422 MB / 386.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.2685, allocations: 2.097 MB / 389 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00927/0.2778, allocations: 8.128 MB / 397.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2778, allocations: 4 kB / 397.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2778, allocations: 0 / 397.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001866/0.278, allocations: 0 / 397.2 MB, free: 14.61 MB / 366.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.0136/0.2916, allocations: 5.422 MB / 402.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2916, allocations: 11.98 kB / 402.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005327/0.2969, allocations: 1.013 MB / 403.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005831/0.3028, allocations: 2.742 MB / 406.4 MB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.303, allocations: 304.2 kB / 406.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006859/0.3037, allocations: 399.9 kB / 407 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009518/0.3132, allocations: 5.36 MB / 412.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.984e-05/0.3133, allocations: 3.953 kB / 412.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003777/0.3137, allocations: 171.9 kB / 412.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.3139, allocations: 172 kB / 412.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008526/0.3224, allocations: 4.435 MB / 417.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0336/0.356, allocations: 14.34 MB / 431.5 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009409/0.3654, allocations: 3.181 MB / 434.7 MB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004494/0.3699, allocations: 1.553 MB / 436.3 MB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/0.3821, allocations: 3.859 MB / 440.1 MB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.3823, allocations: 55.88 kB / 440.2 MB, free: 3.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 5.27e-06/0.3823, allocations: 0 / 440.2 MB, free: 3.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.0167/0.399, allocations: 5.674 MB / 445.8 MB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.399, allocations: 68.72 kB / 445.9 MB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/0.4023, allocations: 2.1 MB / 448 MB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.4025, allocations: 49.7 kB / 448.1 MB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00162/0.4041, allocations: 1.915 MB / 450 MB, free: 9.137 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005881/0.4047, allocations: 0.5733 MB / 450.5 MB, free: 8.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006298/0.4053, allocations: 399.8 kB / 450.9 MB, free: 8.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4055, allocations: 301.1 kB / 451.2 MB, free: 7.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.407, allocations: 0.8475 MB / 452.1 MB, free: 7.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.4092, allocations: 1.577 MB / 453.7 MB, free: 5.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003983/0.4132, allocations: 2.559 MB / 456.2 MB, free: 2.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.4132, allocations: 8 kB / 456.2 MB, free: 2.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005172/0.4184, allocations: 2.787 MB / 459 MB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.4184, allocations: 12 kB / 459 MB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/0.4185, allocations: 27.94 kB / 459 MB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003604/0.4188, allocations: 125.7 kB / 459.2 MB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.4209, allocations: 0.5385 MB / 459.7 MB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.4229, allocations: 1.859 MB / 461.6 MB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.4246, allocations: 107.9 kB / 461.7 MB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.4247, allocations: 99.98 kB / 461.8 MB, free: 12.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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.002171/0.4269, allocations: 1.196 MB / 463 MB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.4273, allocations: 238.5 kB / 463.2 MB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/0.4319, allocations: 2.257 MB / 465.5 MB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4319, allocations: 16.06 kB / 465.5 MB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.4319, allocations: 12 kB / 465.5 MB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.4319, allocations: 7.969 kB / 465.5 MB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00896/0.4409, allocations: 4.748 MB / 470.2 MB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.4409, allocations: 4 kB / 470.2 MB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.4422, allocations: 291.8 kB / 470.5 MB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008921/0.4431, allocations: 318.2 kB / 470.8 MB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.4432, allocations: 39.98 kB / 470.9 MB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1632/0.6065, allocations: 6.495 MB / 477.4 MB, free: 105.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6065, allocations: 2.562 kB / 477.4 MB, free: 105.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005503/0.612, allocations: 3.374 MB / 480.8 MB, free: 103.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.6131, allocations: 419 kB / 481.2 MB, free: 103.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002806/0.6134, allocations: 37.19 kB / 481.2 MB, free: 103.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.6145, allocations: 79.22 kB / 481.3 MB, free: 103.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/0.6148, allocations: 121.4 kB / 481.4 MB, free: 103.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/0.6148, allocations: 49.55 kB / 481.4 MB, free: 103.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001742/0.6166, allocations: 1.379 MB / 482.8 MB, free: 103.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6166, allocations: 0 / 482.8 MB, free: 103.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001861/0.6184, allocations: 0.6688 MB / 483.5 MB, free: 103.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0002666/0.6187, allocations: 179.2 kB / 483.7 MB, free: 103 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.6217, allocations: 2.101 MB / 485.8 MB, free: 102.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6217, allocations: 3.844 kB / 485.8 MB, free: 102.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.6235, allocations: 1.378 MB / 487.1 MB, free: 101.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.6256, allocations: 0.4949 MB / 487.6 MB, free: 101.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008969/0.6346, allocations: 6.982 MB / 494.6 MB, free: 95.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.6363, allocations: 2.118 MB / 496.7 MB, free: 94.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00149/0.6378, allocations: 0.5287 MB / 497.3 MB, free: 94.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.6382, allocations: 155.2 kB / 497.4 MB, free: 93.89 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6382, allocations: 0 / 497.4 MB, free: 93.89 MB / 430.1 MB Notification: Performance of Templates: time 0.0415/0.6797, allocations: 29.26 MB / 0.5143 GB, free: 64.94 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.102091561071575]