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.001309/0.001309, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001434/0.001434, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.001504/0.001504, allocations: 43.92 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2178, allocations: 53.36 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01469/0.2325, allocations: 11.96 MB / 444.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007448/0.2399, allocations: 4.011 MB / 448.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.2413, allocations: 83.44 kB / 448.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.2434, allocations: 0.8969 MB / 449.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.2461, allocations: 1.041 MB / 450.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2473, allocations: 0.5343 MB / 450.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004099/0.2514, allocations: 3.467 MB / 454.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002174/0.2536, allocations: 1.541 MB / 455.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.2559, allocations: 1.585 MB / 457.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/0.2589, allocations: 1.981 MB / 459.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005798/0.2595, allocations: 415.9 kB / 459.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.2607, allocations: 0.7065 MB / 460.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.2618, allocations: 1.153 MB / 461.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.2638, allocations: 1.851 MB / 463.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005817/0.2696, allocations: 5.406 MB / 469 MB, free: 2.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2696, allocations: 4 kB / 469 MB, free: 2.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2696, allocations: 0 / 469 MB, free: 2.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.397e-05/0.2697, allocations: 0 / 469 MB, free: 2.109 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.007475/0.2771, allocations: 3.744 MB / 472.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2772, allocations: 8.031 kB / 472.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.2788, allocations: 490.5 kB / 473.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/0.2825, allocations: 1.91 MB / 475.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.2827, allocations: 205.4 kB / 475.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000393/0.283, allocations: 268 kB / 475.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005828/0.2889, allocations: 3.521 MB / 479.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.604e-05/0.2889, allocations: 8 kB / 479.2 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.2892, allocations: 112 kB / 479.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/0.2893, allocations: 125.2 kB / 479.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005319/0.2946, allocations: 2.968 MB / 482.4 MB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.3128, allocations: 10.82 MB / 493.2 MB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.3154, allocations: 1.506 MB / 494.7 MB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/0.3174, allocations: 1.102 MB / 495.8 MB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.3177, allocations: 57.27 kB / 495.8 MB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.3177, allocations: 43.88 kB / 495.9 MB, free: 6.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.547e-06/0.3177, allocations: 0 / 495.9 MB, free: 6.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01634/0.334, allocations: 7.107 MB / 0.4912 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.3341, allocations: 64.72 kB / 0.4913 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.3373, allocations: 1.992 MB / 0.4932 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000231/0.3375, allocations: 49.7 kB / 0.4933 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.3386, allocations: 1.354 MB / 0.4946 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/0.3392, allocations: 0.5307 MB / 0.4951 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005099/0.3397, allocations: 319.5 kB / 0.4954 GB, free: 11.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3398, allocations: 305.1 kB / 0.4957 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.3413, allocations: 0.89 MB / 0.4966 GB, free: 10.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.3432, allocations: 1.372 MB / 0.4979 GB, free: 8.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003487/0.3467, allocations: 2.377 MB / 0.5002 GB, free: 5.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.3467, allocations: 8 kB / 0.5002 GB, free: 5.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00527/0.352, allocations: 2.915 MB / 0.5031 GB, free: 2.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.352, allocations: 18.59 kB / 0.5031 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.352, allocations: 16 kB / 0.5031 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.3531, allocations: 458.6 kB / 0.5035 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.3547, allocations: 427.3 kB / 0.504 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006965/0.3617, allocations: 5.892 MB / 0.5097 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.3634, allocations: 123.8 kB / 0.5098 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.3636, allocations: 75.94 kB / 0.5099 GB, free: 11.7 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.00145/0.365, allocations: 0.8524 MB / 0.5107 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.3655, allocations: 226.5 kB / 0.5109 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/0.3701, allocations: 2.508 MB / 0.5134 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/0.3701, allocations: 20 kB / 0.5134 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.3701, allocations: 8 kB / 0.5134 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.3701, allocations: 7.969 kB / 0.5134 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009742/0.3799, allocations: 5.511 MB / 0.5188 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.3799, allocations: 4 kB / 0.5188 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.3811, allocations: 280 kB / 0.5191 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.3825, allocations: 0.4902 MB / 0.5196 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.3826, allocations: 39.98 kB / 0.5196 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008389/0.391, allocations: 7.373 MB / 0.5268 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/0.391, allocations: 7.938 kB / 0.5268 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/0.3973, allocations: 3.765 MB / 0.5305 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.3984, allocations: 414.3 kB / 0.5309 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.3987, allocations: 40.06 kB / 0.5309 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.3999, allocations: 103.9 kB / 0.531 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.4001, allocations: 125 kB / 0.5311 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.856e-05/0.4002, allocations: 43.98 kB / 0.5312 GB, free: 5.328 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002045/0.4023, allocations: 1.368 MB / 0.5325 GB, free: 3.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4023, allocations: 0 / 0.5325 GB, free: 3.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001819/0.4041, allocations: 0.5898 MB / 0.5331 GB, free: 3.348 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.0004406/0.4045, allocations: 210.8 kB / 0.5333 GB, free: 3.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004357/0.4089, allocations: 2.447 MB / 0.5357 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4089, allocations: 0 / 0.5357 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1763/0.5852, allocations: 1.529 MB / 0.5372 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.5876, allocations: 0.4923 MB / 0.5377 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/0.5959, allocations: 5.774 MB / 0.5433 GB, free: 99.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.5974, allocations: 2.114 MB / 0.5454 GB, free: 98.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.598, allocations: 152 kB / 0.5455 GB, free: 98.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.598, allocations: 0 / 0.5455 GB, free: 98.26 MB / 446.1 MB Notification: Performance of Templates: time 0.0594/0.6574, allocations: 75.99 MB / 0.6197 GB, free: 27.52 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/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: 13.65163119114004]