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.001934/0.001934, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002486/0.002486, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.51/1.51, allocations: 207.7 MB / 235.3 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] 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.001939/0.001939, allocations: 58.17 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 49.16 MB / 396.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01689/0.3295, allocations: 14.43 MB / 411.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.3446, allocations: 5.191 MB / 416.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006534/0.3511, allocations: 115.6 kB / 416.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005529/0.3567, allocations: 1.23 MB / 417.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007295/0.364, allocations: 1.589 MB / 419.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.3676, allocations: 1.063 MB / 420.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009054/0.3766, allocations: 5.12 MB / 425.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005128/0.3818, allocations: 2.119 MB / 427.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004592/0.3863, allocations: 2.239 MB / 430 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005194/0.3915, allocations: 2.467 MB / 432.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.3934, allocations: 0.6133 MB / 433 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.3967, allocations: 0.8122 MB / 433.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002856/0.3996, allocations: 1.426 MB / 435.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005827/0.4054, allocations: 2.097 MB / 437.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.4216, allocations: 8.14 MB / 445.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4216, allocations: 0 / 445.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4216, allocations: 0 / 445.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003553/0.422, allocations: 0 / 445.5 MB, free: 2.309 MB / 350.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.02035/0.4423, allocations: 5.418 MB / 450.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.4424, allocations: 15.98 kB / 451 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006605/0.449, allocations: 1.009 MB / 452 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008252/0.4572, allocations: 2.738 MB / 454.7 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.4576, allocations: 308.2 kB / 455 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.459, allocations: 403.9 kB / 455.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.4737, allocations: 5.356 MB / 460.8 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/0.4739, allocations: 7.953 kB / 460.8 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008681/0.4747, allocations: 164 kB / 460.9 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002277/0.475, allocations: 176 kB / 461.1 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/0.4881, allocations: 4.431 MB / 465.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03717/0.5253, allocations: 14.34 MB / 479.9 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006406/0.5317, allocations: 3.172 MB / 483 MB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.5349, allocations: 1.553 MB / 484.6 MB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008679/0.5435, allocations: 3.87 MB / 488.5 MB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.5436, allocations: 51.81 kB / 488.5 MB, free: 6.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.586e-06/0.5436, allocations: 0 / 488.5 MB, free: 6.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01294/0.5565, allocations: 5.666 MB / 494.2 MB, free: 1.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.5566, allocations: 72.72 kB / 494.2 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004174/0.5608, allocations: 2.084 MB / 496.3 MB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.5609, allocations: 61.64 kB / 496.4 MB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.5627, allocations: 1.911 MB / 498.3 MB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000604/0.5633, allocations: 0.5772 MB / 498.9 MB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007449/0.564, allocations: 403.8 kB / 499.3 MB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5642, allocations: 301.1 kB / 499.6 MB, free: 11.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.5658, allocations: 0.8435 MB / 0.4887 GB, free: 10.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/0.5683, allocations: 1.581 MB / 0.4902 GB, free: 8.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004389/0.5727, allocations: 2.559 MB / 0.4927 GB, free: 5.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.5727, allocations: 4 kB / 0.4927 GB, free: 5.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005854/0.5786, allocations: 2.79 MB / 0.4955 GB, free: 3.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.5786, allocations: 16 kB / 0.4955 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-05/0.5786, allocations: 28.47 kB / 0.4955 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.579, allocations: 125.7 kB / 0.4956 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/0.5811, allocations: 0.5343 MB / 0.4961 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.5833, allocations: 1.855 MB / 0.4979 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.5853, allocations: 112 kB / 0.4981 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.5855, allocations: 100.1 kB / 0.4981 GB, free: 260 kB / 414.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.002677/0.5882, allocations: 1.192 MB / 0.4993 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006089/0.5888, allocations: 234.5 kB / 0.4995 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/0.5937, allocations: 2.265 MB / 0.5017 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.5937, allocations: 16 kB / 0.5018 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.5937, allocations: 4 kB / 0.5018 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.5937, allocations: 7.969 kB / 0.5018 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.604, allocations: 4.763 MB / 0.5064 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.604, allocations: 4 kB / 0.5064 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.6053, allocations: 283.6 kB / 0.5067 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000892/0.6062, allocations: 318.4 kB / 0.507 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.6064, allocations: 39.98 kB / 0.507 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007384/0.6137, allocations: 6.509 MB / 0.5134 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/0.6138, allocations: 7.969 kB / 0.5134 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006367/0.6201, allocations: 3.363 MB / 0.5167 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.6215, allocations: 410.3 kB / 0.5171 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005178/0.622, allocations: 43.92 kB / 0.5171 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.6234, allocations: 79.94 kB / 0.5172 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/0.6237, allocations: 129 kB / 0.5173 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.6238, allocations: 47.98 kB / 0.5174 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002565/0.6263, allocations: 1.372 MB / 0.5187 GB, free: 10.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6263, allocations: 4 kB / 0.5187 GB, free: 10.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00252/0.6289, allocations: 0.6679 MB / 0.5194 GB, free: 10.02 MB / 446.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.0004627/0.6293, allocations: 171 kB / 0.5195 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00429/0.6336, allocations: 2.104 MB / 0.5216 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6336, allocations: 0 / 0.5216 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002587/0.6362, allocations: 1.375 MB / 0.5229 GB, free: 6.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/0.6392, allocations: 0.499 MB / 0.5234 GB, free: 5.816 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.6538, allocations: 6.99 MB / 0.5302 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003343/0.6572, allocations: 2.129 MB / 0.5323 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002107/0.6593, allocations: 0.5261 MB / 0.5328 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/0.66, allocations: 155.4 kB / 0.533 GB, free: 11.93 MB / 462.1 MB Notification: Performance of SimCode: time 1.623e-06/0.66, allocations: 4 kB / 0.533 GB, free: 11.92 MB / 462.1 MB Notification: Performance of Templates: time 0.2617/0.9217, allocations: 33.85 MB / 0.566 GB, free: 144.5 MB / 478.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 -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/jenkins/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/jenkins/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.624955737963319]