Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001829/0.001829, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.002062/0.002062, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.478/1.478, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 59.84 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2616, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01129/0.2728, allocations: 7.908 MB / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.2789, allocations: 2.691 MB / 434.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.2802, allocations: 63.62 kB / 434.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.2821, allocations: 0.5822 MB / 435.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.2849, allocations: 0.7808 MB / 435.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008711/0.2857, allocations: 315.5 kB / 436.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003367/0.2891, allocations: 2.358 MB / 438.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.2908, allocations: 0.9774 MB / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.2925, allocations: 1.102 MB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.2949, allocations: 1.296 MB / 441.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005192/0.2954, allocations: 280 kB / 442.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008816/0.2963, allocations: 371.8 kB / 442.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009048/0.2972, allocations: 0.8064 MB / 443.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.2986, allocations: 1.015 MB / 444.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004574/0.3032, allocations: 3.713 MB / 448.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3032, allocations: 0 / 448.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3032, allocations: 0 / 448.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001119/0.3033, allocations: 4 kB / 448.1 MB, free: 6.086 MB / 350.1 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.006242/0.3096, allocations: 2.564 MB / 450.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3096, allocations: 12.03 kB / 450.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007831/0.3104, allocations: 271.4 kB / 450.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/0.3134, allocations: 1.333 MB / 452.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.3135, allocations: 132 kB / 452.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/0.3139, allocations: 188.1 kB / 452.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004651/0.3185, allocations: 2.518 MB / 455.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.364e-05/0.3186, allocations: 0 / 455.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.3187, allocations: 75.98 kB / 455.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.3189, allocations: 91.48 kB / 455.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/0.3227, allocations: 2.016 MB / 457.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.3354, allocations: 6.39 MB / 463.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3372, allocations: 0.9858 MB / 464.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.3389, allocations: 0.8612 MB / 465.5 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.3391, allocations: 40.95 kB / 465.5 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3392, allocations: 43.56 kB / 465.6 MB, free: 4.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.247e-06/0.3392, allocations: 4 kB / 465.6 MB, free: 4.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009484/0.3486, allocations: 4.683 MB / 470.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.3487, allocations: 64.41 kB / 470.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.3506, allocations: 1.241 MB / 471.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.526e-05/0.3507, allocations: 45.7 kB / 471.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007345/0.3514, allocations: 0.9257 MB / 472.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.3518, allocations: 372.8 kB / 472.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.3521, allocations: 214.9 kB / 473.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3523, allocations: 349.9 kB / 473.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3534, allocations: 0.6428 MB / 474.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.3546, allocations: 0.9181 MB / 475 MB, free: 10.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.357, allocations: 1.645 MB / 476.7 MB, free: 8.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.357, allocations: 4 kB / 476.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004426/0.3615, allocations: 2.372 MB / 479 MB, free: 6.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.3615, allocations: 8 kB / 479 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.3615, allocations: 8 kB / 479.1 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.3634, allocations: 0.7121 MB / 479.8 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008894/0.3643, allocations: 235.6 kB / 480 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.3757, allocations: 8.38 MB / 488.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3768, allocations: 79.88 kB / 488.5 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.3769, allocations: 51.98 kB / 488.5 MB, free: 12.73 MB / 398.1 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.001118/0.378, allocations: 0.6184 MB / 489.1 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.3783, allocations: 131.2 kB / 489.3 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/0.3818, allocations: 1.884 MB / 491.1 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.3818, allocations: 12 kB / 491.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3818, allocations: 8 kB / 491.2 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3818, allocations: 7.969 kB / 491.2 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007322/0.3891, allocations: 3.518 MB / 494.7 MB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.3891, allocations: 4 kB / 494.7 MB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008476/0.39, allocations: 179.7 kB / 494.9 MB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.3913, allocations: 459.2 kB / 495.3 MB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.361e-05/0.3914, allocations: 39.91 kB / 495.3 MB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007608/0.399, allocations: 6.277 MB / 0.4899 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.399, allocations: 64 / 0.4899 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/0.404, allocations: 2.76 MB / 0.4926 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009286/0.4049, allocations: 271 kB / 0.4928 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.4051, allocations: 24 kB / 0.4928 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008043/0.4059, allocations: 63.92 kB / 0.4929 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.4062, allocations: 92.7 kB / 0.493 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/0.4062, allocations: 31.98 kB / 0.493 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001468/0.4077, allocations: 0.8454 MB / 0.4939 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4077, allocations: 0 / 0.4939 GB, free: 11.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001614/0.4093, allocations: 435.9 kB / 0.4943 GB, free: 10.62 MB / 414.1 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.0004443/0.4098, allocations: 192.4 kB / 0.4944 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00383/0.4136, allocations: 1.941 MB / 0.4963 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4136, allocations: 0 / 0.4963 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00236/0.416, allocations: 1.23 MB / 0.4975 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.4177, allocations: 307.9 kB / 0.4978 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007474/0.4252, allocations: 4.121 MB / 0.5019 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.4266, allocations: 1.094 MB / 0.5029 GB, free: 1.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.427, allocations: 95.42 kB / 0.503 GB, free: 1.477 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.427, allocations: 0 / 0.503 GB, free: 1.477 MB / 414.1 MB Notification: Performance of Templates: time 0.2456/0.6727, allocations: 52.55 MB / 0.5543 GB, free: 100.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 11.549300095066428]