Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009734/0.0009734, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004276/0.004276, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8794/0.8794, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.351e-05, allocations: 2.281 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.007741/0.007765, allocations: 9.072 MB / 334.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004774/0.01254, allocations: 3.147 MB / 338 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009167/0.01346, allocations: 75.5 kB / 338.1 MB, free: 2.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.01465, allocations: 0.6946 MB / 338.8 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.01623, allocations: 0.9314 MB / 339.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.01685, allocations: 427.3 kB / 340.1 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.01898, allocations: 3.081 MB / 343.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.02011, allocations: 1.341 MB / 344.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.02174, allocations: 2.019 MB / 346.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.023, allocations: 1.5 MB / 348.1 MB, free: 8.918 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005868/0.02359, allocations: 352 kB / 348.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.02412, allocations: 471.7 kB / 348.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006025/0.02472, allocations: 1.052 MB / 349.9 MB, free: 7.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007803/0.0255, allocations: 1.111 MB / 351 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.02872, allocations: 4.76 MB / 355.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.02873, allocations: 0 / 355.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02873, allocations: 0 / 355.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.394e-05/0.02877, allocations: 0 / 355.8 MB, free: 1.172 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.003897/0.03267, allocations: 3.249 MB / 359 MB, free: 13.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.03272, allocations: 12.03 kB / 359.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006739/0.03339, allocations: 378.8 kB / 359.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.03535, allocations: 1.705 MB / 361.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.03546, allocations: 177 kB / 361.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.03569, allocations: 240.3 kB / 361.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.03924, allocations: 3.236 MB / 364.8 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.423e-05/0.03928, allocations: 15.88 kB / 364.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.03943, allocations: 96 kB / 364.9 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.64e-05/0.0395, allocations: 104.6 kB / 365 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.04236, allocations: 2.7 MB / 367.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008627/0.05099, allocations: 8.394 MB / 376.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.05276, allocations: 1.4 MB / 377.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.05386, allocations: 1.042 MB / 378.5 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.05402, allocations: 56.95 kB / 378.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.05405, allocations: 47.56 kB / 378.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 2.625e-06/0.05405, allocations: 0 / 378.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.008159/0.06221, allocations: 6.339 MB / 385 MB, free: 3.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.06225, allocations: 64.72 kB / 385 MB, free: 3.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.06375, allocations: 1.619 MB / 386.6 MB, free: 1.762 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.06381, allocations: 57.7 kB / 386.7 MB, free: 1.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000512/0.06432, allocations: 1.189 MB / 387.9 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.06455, allocations: 472 kB / 388.3 MB, free: 32 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.06484, allocations: 283.6 kB / 388.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.06491, allocations: 305.1 kB / 388.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.06569, allocations: 0.7964 MB / 389.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/0.06664, allocations: 1.205 MB / 390.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.06856, allocations: 2.086 MB / 393 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.06857, allocations: 8 kB / 393 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00267/0.07124, allocations: 2.585 MB / 395.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.07127, allocations: 12 kB / 395.6 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.07128, allocations: 12 kB / 395.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.07187, allocations: 431.3 kB / 396 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/0.07257, allocations: 355.5 kB / 396.4 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00437/0.07694, allocations: 6.642 MB / 403 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007942/0.07773, allocations: 103.8 kB / 403.1 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/0.07781, allocations: 67.98 kB / 403.2 MB, free: 500 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001164/0.07898, allocations: 0.8017 MB / 404 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.07918, allocations: 178.8 kB / 404.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.08179, allocations: 2.276 MB / 406.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.0818, allocations: 12.09 kB / 406.5 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.0818, allocations: 11.98 kB / 406.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.08181, allocations: 11.97 kB / 406.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/0.08672, allocations: 4.443 MB / 410.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.08673, allocations: 4 kB / 410.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/0.08724, allocations: 231.6 kB / 411.2 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006318/0.08787, allocations: 455.4 kB / 411.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.08794, allocations: 35.98 kB / 411.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004933/0.09287, allocations: 8.084 MB / 419.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.09288, allocations: 4 kB / 419.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/0.09667, allocations: 3.419 MB / 423.2 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/0.09738, allocations: 354.7 kB / 423.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.09755, allocations: 32 kB / 423.5 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/0.09807, allocations: 83.89 kB / 423.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.09832, allocations: 124.7 kB / 423.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.09838, allocations: 40 kB / 423.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001351/0.09973, allocations: 1.09 MB / 424.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.09973, allocations: 8 kB / 424.9 MB, free: 10.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001568/0.1013, allocations: 0.5038 MB / 425.4 MB, free: 9.699 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.000387/0.1017, allocations: 194.9 kB / 425.6 MB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002934/0.1046, allocations: 2.314 MB / 427.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1046, allocations: 0 / 427.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.1061, allocations: 1.557 MB / 429.4 MB, free: 5.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.1072, allocations: 428 kB / 429.9 MB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/0.1136, allocations: 4.941 MB / 434.8 MB, free: 96 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.1147, allocations: 1.403 MB / 436.2 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.115, allocations: 128.5 kB / 436.3 MB, free: 14.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.115, allocations: 3.938 kB / 436.3 MB, free: 14.53 MB / 410.7 MB Notification: Performance of Templates: time 0.1912/0.3062, allocations: 79.92 MB / 0.5041 GB, free: 56.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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: 8.969338688999414]