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.001415/0.001415, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001498/0.001498, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.00162/0.00162, allocations: 55.86 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2459, allocations: 53.35 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.0135/0.2594, allocations: 10.43 MB / 442 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008288/0.2676, allocations: 3.761 MB / 445.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.2695, allocations: 83.5 kB / 445.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.2717, allocations: 0.8426 MB / 446.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.2743, allocations: 1.037 MB / 447.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2755, allocations: 0.5305 MB / 448.3 MB, free: 6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003827/0.2793, allocations: 3.471 MB / 451.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.2813, allocations: 1.479 MB / 453.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.2834, allocations: 1.577 MB / 454.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.2862, allocations: 1.883 MB / 456.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005943/0.2868, allocations: 408 kB / 457.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.288, allocations: 0.6245 MB / 457.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.2891, allocations: 1.165 MB / 458.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.2909, allocations: 1.494 MB / 460.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005606/0.2965, allocations: 5.429 MB / 465.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2965, allocations: 0 / 465.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2965, allocations: 0 / 465.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.85e-05/0.2966, allocations: 7.938 kB / 465.8 MB, free: 4.355 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.007827/0.3044, allocations: 3.74 MB / 469.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3045, allocations: 12.02 kB / 469.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.3062, allocations: 490.5 kB / 470 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/0.31, allocations: 1.914 MB / 471.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.3102, allocations: 197.4 kB / 472.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/0.3106, allocations: 275.9 kB / 472.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006104/0.3167, allocations: 3.646 MB / 476 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-05/0.3167, allocations: 11.94 kB / 476.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.317, allocations: 104 kB / 476.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.3171, allocations: 121.3 kB / 476.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/0.3226, allocations: 2.96 MB / 479.2 MB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.3406, allocations: 9.588 MB / 488.8 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.3433, allocations: 1.499 MB / 490.3 MB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.3453, allocations: 1.082 MB / 491.4 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.3455, allocations: 61.27 kB / 491.5 MB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.3456, allocations: 43.88 kB / 491.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.536e-06/0.3456, allocations: 0 / 491.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.0164/0.362, allocations: 7.086 MB / 498.6 MB, free: 2.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.362, allocations: 68.72 kB / 498.7 MB, free: 2.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.3647, allocations: 1.835 MB / 0.4888 GB, free: 1.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.3648, allocations: 45.7 kB / 0.4888 GB, free: 1.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.3659, allocations: 1.357 MB / 0.4901 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/0.3663, allocations: 0.5307 MB / 0.4907 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005136/0.3669, allocations: 323.5 kB / 0.491 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.367, allocations: 301.1 kB / 0.4913 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.3685, allocations: 0.8823 MB / 0.4921 GB, free: 13.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.3704, allocations: 1.384 MB / 0.4935 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/0.374, allocations: 2.377 MB / 0.4958 GB, free: 9.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.374, allocations: 4 kB / 0.4958 GB, free: 9.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005237/0.3792, allocations: 2.9 MB / 0.4986 GB, free: 6.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.3793, allocations: 11.94 kB / 0.4986 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.3793, allocations: 16 kB / 0.4986 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.3804, allocations: 458.6 kB / 0.4991 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.382, allocations: 431.3 kB / 0.4995 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007097/0.3891, allocations: 5.791 MB / 0.5052 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.3908, allocations: 131.8 kB / 0.5053 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.391, allocations: 71.98 kB / 0.5053 GB, free: 15.41 MB / 430.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.001599/0.3926, allocations: 0.8578 MB / 0.5062 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.393, allocations: 202.7 kB / 0.5064 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004713/0.3977, allocations: 2.499 MB / 0.5088 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.47e-05/0.3977, allocations: 16 kB / 0.5088 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.3978, allocations: 8 kB / 0.5088 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.3978, allocations: 11.97 kB / 0.5089 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009863/0.4076, allocations: 4.853 MB / 0.5136 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.4076, allocations: 4 kB / 0.5136 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.409, allocations: 287.9 kB / 0.5139 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.4103, allocations: 0.4902 MB / 0.5143 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.4105, allocations: 35.98 kB / 0.5144 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008797/0.4193, allocations: 7.243 MB / 0.5215 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.4193, allocations: 4.141 kB / 0.5215 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007044/0.4263, allocations: 3.752 MB / 0.5251 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.4279, allocations: 394.5 kB / 0.5255 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005377/0.4285, allocations: 35.98 kB / 0.5255 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.4299, allocations: 104 kB / 0.5256 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/0.4302, allocations: 129 kB / 0.5258 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.4303, allocations: 43.98 kB / 0.5258 GB, free: 9.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002374/0.4327, allocations: 1.235 MB / 0.527 GB, free: 8.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4327, allocations: 0 / 0.527 GB, free: 8.719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002274/0.435, allocations: 0.582 MB / 0.5276 GB, free: 8.137 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.0005003/0.4355, allocations: 218.8 kB / 0.5278 GB, free: 7.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004669/0.4401, allocations: 2.442 MB / 0.5302 GB, free: 5.438 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4401, allocations: 0 / 0.5302 GB, free: 5.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002866/0.443, allocations: 1.549 MB / 0.5317 GB, free: 3.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.4458, allocations: 428 kB / 0.5321 GB, free: 3.434 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2158/0.6616, allocations: 5.689 MB / 0.5376 GB, free: 100.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.6637, allocations: 1.579 MB / 0.5392 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001564/0.6653, allocations: 454.9 kB / 0.5396 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/0.6657, allocations: 131.8 kB / 0.5397 GB, free: 100.1 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6657, allocations: 3.219 kB / 0.5397 GB, free: 100.1 MB / 446.1 MB Notification: Performance of Templates: time 0.04323/0.709, allocations: 33.06 MB / 0.572 GB, free: 74.17 MB / 446.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/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: 6.317499127238989]