Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.0008142/0.0008142, allocations: 84 kB / 21.43 MB, free: 3.129 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.003686/0.003686, allocations: 144.8 kB / 24.68 MB, free: 9.426 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.8401/0.8401, allocations: 173.4 MB / 201.2 MB, free: 9.43 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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 4 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.967e-05, allocations: 4.812 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.007737/0.007756, allocations: 10.39 MB / 330.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.0118, allocations: 3.71 MB / 333.8 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.01241, allocations: 79.5 kB / 333.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.01357, allocations: 0.8465 MB / 334.7 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.01487, allocations: 1.067 MB / 335.8 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.01544, allocations: 0.5303 MB / 336.3 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.01745, allocations: 3.559 MB / 339.9 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.01877, allocations: 1.494 MB / 341.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.02066, allocations: 2.292 MB / 343.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.02204, allocations: 1.683 MB / 345.4 MB, free: 12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003233/0.02236, allocations: 408 kB / 345.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.023, allocations: 0.6322 MB / 346.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006477/0.02365, allocations: 1.188 MB / 347.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000841/0.02449, allocations: 1.263 MB / 348.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003267/0.02776, allocations: 5.441 MB / 354.3 MB, free: 3.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.02776, allocations: 0 / 354.3 MB, free: 3.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.02776, allocations: 0 / 354.3 MB, free: 3.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.463e-05/0.02781, allocations: 0 / 354.3 MB, free: 3.059 MB / 314.7 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.004126/0.03193, allocations: 3.691 MB / 358 MB, free: 15.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.03198, allocations: 12.92 kB / 358 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007678/0.03274, allocations: 450.6 kB / 358.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.03497, allocations: 1.898 MB / 360.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.03509, allocations: 209.8 kB / 360.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.03539, allocations: 272.1 kB / 360.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/0.0393, allocations: 3.639 MB / 364.4 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.03935, allocations: 11.98 kB / 364.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.03953, allocations: 112 kB / 364.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.476e-05/0.03962, allocations: 121.2 kB / 364.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/0.04287, allocations: 2.964 MB / 367.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009725/0.0526, allocations: 9.575 MB / 377.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.0542, allocations: 1.508 MB / 378.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.05537, allocations: 1.094 MB / 379.8 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.05554, allocations: 53.28 kB / 379.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.05557, allocations: 43.88 kB / 379.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 3.006e-06/0.05557, allocations: 0 / 379.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=148): time 0.009526/0.0651, allocations: 7.074 MB / 387 MB, free: 1.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.06514, allocations: 64.72 kB / 387 MB, free: 1.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.06685, allocations: 1.826 MB / 388.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.06692, allocations: 45.7 kB / 388.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006481/0.06757, allocations: 1.353 MB / 390.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.06785, allocations: 0.5268 MB / 390.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.06818, allocations: 327.4 kB / 391.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.06826, allocations: 301.1 kB / 391.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009235/0.06918, allocations: 0.8862 MB / 392.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.0703, allocations: 1.376 MB / 393.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.07241, allocations: 2.381 MB / 396 MB, free: 8.254 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.07242, allocations: 4 kB / 396.1 MB, free: 8.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002958/0.07537, allocations: 2.9 MB / 399 MB, free: 5.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.07539, allocations: 16.31 kB / 399 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.07541, allocations: 20 kB / 399 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006545/0.07607, allocations: 460.3 kB / 399.4 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008066/0.07687, allocations: 439.3 kB / 399.9 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/0.08096, allocations: 5.77 MB / 405.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006988/0.08166, allocations: 127.8 kB / 405.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/0.08175, allocations: 75.98 kB / 405.8 MB, free: 14.24 MB / 378.7 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.0009777/0.08273, allocations: 0.8485 MB / 406.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.08295, allocations: 206.7 kB / 406.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.08555, allocations: 2.495 MB / 409.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.08557, allocations: 16 kB / 409.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.08558, allocations: 4 kB / 409.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.08559, allocations: 8.062 kB / 409.4 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005156/0.09074, allocations: 4.857 MB / 414.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.09075, allocations: 4 kB / 414.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.09135, allocations: 279.6 kB / 414.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007293/0.09208, allocations: 498.3 kB / 415 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.346e-05/0.09215, allocations: 39.98 kB / 415.1 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/0.09699, allocations: 7.244 MB / 422.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.097, allocations: 4 kB / 422.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003658/0.1007, allocations: 3.741 MB / 426.1 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/0.1012, allocations: 390.5 kB / 426.4 MB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.1013, allocations: 35.98 kB / 426.5 MB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.1018, allocations: 95.89 kB / 426.6 MB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.102, allocations: 133 kB / 426.7 MB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.1021, allocations: 47.98 kB / 426.7 MB, free: 8.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001136/0.1032, allocations: 1.219 MB / 428 MB, free: 7.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1032, allocations: 0 / 428 MB, free: 7.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001175/0.1044, allocations: 0.5937 MB / 428.6 MB, free: 7.008 MB / 394.7 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.0003143/0.1047, allocations: 223.3 kB / 428.8 MB, free: 6.777 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.1072, allocations: 2.451 MB / 431.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.1072, allocations: 4.5 kB / 431.2 MB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.1087, allocations: 1.541 MB / 432.8 MB, free: 2.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.1098, allocations: 432.2 kB / 433.2 MB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/0.1152, allocations: 5.537 MB / 438.7 MB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.1163, allocations: 1.548 MB / 440.3 MB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.1166, allocations: 144.5 kB / 440.4 MB, free: 10.96 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1166, allocations: 0 / 440.4 MB, free: 10.96 MB / 410.7 MB Notification: Performance of Templates: time 0.1811/0.2977, allocations: 75.51 MB / 0.5038 GB, free: 59.91 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.459344152361155]