Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.001742/0.001742, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002328/0.002328, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 47.94 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1156, allocations: 53.33 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.247/0.3627, allocations: 11.89 MB / 439.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.3731, allocations: 4.003 MB / 443.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.3767, allocations: 79.69 kB / 443.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003504/0.3802, allocations: 0.8914 MB / 444.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.3851, allocations: 1.021 MB / 445.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.3872, allocations: 0.5241 MB / 445.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006455/0.3937, allocations: 3.466 MB / 449.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004532/0.3982, allocations: 1.957 MB / 451.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/0.4019, allocations: 1.586 MB / 452.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004937/0.4068, allocations: 1.985 MB / 454.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.4081, allocations: 408.3 kB / 455.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.4106, allocations: 0.6445 MB / 455.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001701/0.4123, allocations: 1.155 MB / 457.1 MB, free: 12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004114/0.4164, allocations: 1.85 MB / 458.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009384/0.4258, allocations: 5.404 MB / 464.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4258, allocations: 0 / 464.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4258, allocations: 0 / 464.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002154/0.426, allocations: 3.938 kB / 464.4 MB, free: 7.203 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01163/0.4376, allocations: 3.824 MB / 468.2 MB, free: 4.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.4377, allocations: 13.7 kB / 468.2 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.4399, allocations: 484.5 kB / 468.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004456/0.4444, allocations: 1.993 MB / 470.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.4446, allocations: 206.9 kB / 470.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005091/0.4451, allocations: 271.1 kB / 471.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007759/0.4528, allocations: 3.519 MB / 474.6 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.021e-05/0.4529, allocations: 6.734 kB / 474.7 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.4532, allocations: 115.3 kB / 474.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.4534, allocations: 122.6 kB / 474.9 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006402/0.4598, allocations: 2.973 MB / 477.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02471/0.4845, allocations: 11 MB / 488.9 MB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/0.488, allocations: 2.182 MB / 491 MB, free: 320 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.4905, allocations: 1.105 MB / 492.1 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/0.491, allocations: 203.5 kB / 492.3 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.042e-05/0.4911, allocations: 51.86 kB / 492.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 5.36e-06/0.4911, allocations: 0 / 492.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.02063/0.5117, allocations: 7.55 MB / 499.9 MB, free: 7.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.5118, allocations: 64.72 kB / 0.4883 GB, free: 7.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004531/0.5163, allocations: 1.992 MB / 0.4902 GB, free: 5.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.5166, allocations: 49.69 kB / 0.4903 GB, free: 5.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.5179, allocations: 1.354 MB / 0.4916 GB, free: 3.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007202/0.5187, allocations: 0.5345 MB / 0.4921 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007686/0.5194, allocations: 323.5 kB / 0.4924 GB, free: 2.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5196, allocations: 305.1 kB / 0.4927 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.5213, allocations: 0.8849 MB / 0.4936 GB, free: 1.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.5235, allocations: 1.368 MB / 0.4949 GB, free: 72 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004001/0.5275, allocations: 2.389 MB / 0.4973 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.5275, allocations: 4 kB / 0.4973 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006266/0.5338, allocations: 2.983 MB / 0.5002 GB, free: 10.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.5338, allocations: 15.94 kB / 0.5002 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-05/0.5339, allocations: 19.98 kB / 0.5002 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.5353, allocations: 462.5 kB / 0.5006 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.5371, allocations: 423.3 kB / 0.5011 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008804/0.5459, allocations: 6.095 MB / 0.507 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.5485, allocations: 119.8 kB / 0.5071 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004411/0.5489, allocations: 71.98 kB / 0.5072 GB, free: 2.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002419/0.5513, allocations: 0.8602 MB / 0.508 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009171/0.5522, allocations: 234.2 kB / 0.5083 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006229/0.5585, allocations: 2.584 MB / 0.5108 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.233e-05/0.5585, allocations: 16.88 kB / 0.5108 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.5585, allocations: 4 kB / 0.5108 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.5585, allocations: 7.969 kB / 0.5108 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.5722, allocations: 5.607 MB / 0.5163 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.5722, allocations: 4 kB / 0.5163 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.5735, allocations: 283.6 kB / 0.5166 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.5752, allocations: 0.5002 MB / 0.517 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.5753, allocations: 35.98 kB / 0.5171 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.5857, allocations: 7.687 MB / 0.5246 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.5858, allocations: 4 kB / 0.5246 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00846/0.5942, allocations: 3.84 MB / 0.5283 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/0.5959, allocations: 487.5 kB / 0.5288 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008548/0.5968, allocations: 39.98 kB / 0.5288 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/0.5986, allocations: 95.89 kB / 0.5289 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/0.599, allocations: 125 kB / 0.529 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.5992, allocations: 39.98 kB / 0.5291 GB, free: 11.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003284/0.6025, allocations: 1.368 MB / 0.5304 GB, free: 10.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6025, allocations: 0 / 0.5304 GB, free: 10.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003395/0.6058, allocations: 0.582 MB / 0.531 GB, free: 9.871 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.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 (125): * Single equations (assignments): 120 * Array equations: 2 * 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 {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007078/0.6066, allocations: 231.5 kB / 0.5312 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005701/0.6123, allocations: 2.513 MB / 0.5337 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.6123, allocations: 0 / 0.5337 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003526/0.6158, allocations: 1.542 MB / 0.5352 GB, free: 5.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004111/0.6199, allocations: 0.4967 MB / 0.5357 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.6339, allocations: 5.738 MB / 0.5413 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003324/0.6372, allocations: 2.112 MB / 0.5433 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.6382, allocations: 155.4 kB / 0.5435 GB, free: 12.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.883e-06/0.6382, allocations: 0 / 0.5435 GB, free: 12.9 MB / 462.1 MB Notification: Performance of Templates: time 0.1132/0.7515, allocations: 75.98 MB / 0.6177 GB, free: 0.9609 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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: 15.044809518993134]