Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001494/0.001494, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001612/0.001612, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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 1.447/1.447, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.063e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01205/0.01208, allocations: 7.969 MB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006197/0.01827, allocations: 2.777 MB / 283 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.01942, allocations: 55.62 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.02119, allocations: 0.6055 MB / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.02426, allocations: 0.8033 MB / 284.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.02519, allocations: 335.4 kB / 284.7 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003443/0.02863, allocations: 2.458 MB / 287.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.03033, allocations: 0.9813 MB / 288.2 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.03299, allocations: 1.587 MB / 289.8 MB, free: 132 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1428/0.1758, allocations: 1.177 MB / 290.9 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005646/0.1763, allocations: 279.5 kB / 291.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009037/0.1773, allocations: 384 kB / 291.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007764/0.178, allocations: 0.8344 MB / 292.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.1792, allocations: 0.8693 MB / 293.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.1833, allocations: 3.754 MB / 297.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1833, allocations: 4.719 kB / 297.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1833, allocations: 0 / 297.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.556e-05/0.1833, allocations: 0 / 297.1 MB, free: 16.8 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005605/0.1889, allocations: 2.552 MB / 299.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.189, allocations: 12.83 kB / 299.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.1903, allocations: 462 kB / 300.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.1925, allocations: 1.392 MB / 301.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.71e-05/0.1926, allocations: 136 kB / 301.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.193, allocations: 186.8 kB / 301.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.1968, allocations: 2.51 MB / 304.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/0.1969, allocations: 6.797 kB / 304.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.1971, allocations: 77.02 kB / 304.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.153e-05/0.1971, allocations: 83.81 kB / 304.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.2, allocations: 2.021 MB / 306.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009714/0.2097, allocations: 6.505 MB / 313 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.2111, allocations: 0.9886 MB / 314 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.2125, allocations: 0.8558 MB / 314.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.2127, allocations: 64.75 kB / 314.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2128, allocations: 39.56 kB / 314.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.936e-06/0.2128, allocations: 0 / 314.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.01105/0.2238, allocations: 4.717 MB / 319.6 MB, free: 1.285 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.2239, allocations: 60.41 kB / 319.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.2263, allocations: 1.249 MB / 321 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.2265, allocations: 45.7 kB / 321 MB, free: 15.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.228, allocations: 0.9347 MB / 321.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005948/0.2286, allocations: 367.7 kB / 322.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005904/0.2291, allocations: 214.9 kB / 322.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000286/0.2294, allocations: 349.9 kB / 322.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.2311, allocations: 0.635 MB / 323.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.233, allocations: 0.9218 MB / 324.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003954/0.237, allocations: 1.645 MB / 326 MB, free: 10.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.237, allocations: 4 kB / 326 MB, free: 10.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00695/0.244, allocations: 2.424 MB / 328.5 MB, free: 8.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.244, allocations: 8 kB / 328.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.244, allocations: 16.19 kB / 328.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004425/0.2484, allocations: 0.8965 MB / 329.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.25, allocations: 229.6 kB / 329.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.2683, allocations: 8.417 MB / 338 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.2702, allocations: 88 kB / 338.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.2704, allocations: 48 kB / 338.2 MB, free: 14.42 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001922/0.2723, allocations: 0.6246 MB / 338.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006344/0.2729, allocations: 175 kB / 339 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00577/0.2787, allocations: 1.879 MB / 340.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.2787, allocations: 14.91 kB / 340.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.2787, allocations: 8.109 kB / 340.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.2787, allocations: 11.92 kB / 340.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.2905, allocations: 3.529 MB / 344.4 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.2906, allocations: 3.938 kB / 344.4 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.2919, allocations: 178.9 kB / 344.6 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/0.2943, allocations: 498.1 kB / 345.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/0.2945, allocations: 27.98 kB / 345.1 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009059/0.3036, allocations: 6.274 MB / 351.4 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.3036, allocations: 7.969 kB / 351.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005605/0.3092, allocations: 2.798 MB / 354.2 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.3102, allocations: 271 kB / 354.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.3104, allocations: 23.98 kB / 354.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/0.3113, allocations: 66.11 kB / 354.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.3115, allocations: 91.75 kB / 354.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.3116, allocations: 31.98 kB / 354.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00163/0.3133, allocations: 0.8574 MB / 355.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3133, allocations: 0 / 355.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001703/0.315, allocations: 434.8 kB / 355.9 MB, free: 12.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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 {(2,12,100.0%), (1,1,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.0004231/0.3154, allocations: 187.3 kB / 356.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003932/0.3193, allocations: 1.944 MB / 358.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3193, allocations: 0 / 358.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002598/0.3219, allocations: 1.228 MB / 359.3 MB, free: 8.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.324, allocations: 327 kB / 359.6 MB, free: 8.656 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007732/0.3317, allocations: 3.947 MB / 363.6 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.3332, allocations: 1.118 MB / 364.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001102/0.3343, allocations: 307 kB / 365 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.3347, allocations: 92.48 kB / 365.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3347, allocations: 4 kB / 365.1 MB, free: 3.098 MB / 314.7 MB Notification: Performance of Templates: time 0.04532/0.38, allocations: 23.12 MB / 388.2 MB, free: 12.34 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 5.310378807014786]