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.001797/0.001797, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002297/0.002297, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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.518/1.518, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 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 0.001956/0.001956, allocations: 64.03 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.222, allocations: 53.4 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01112/0.2331, allocations: 7.948 MB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.2385, allocations: 2.777 MB / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.2392, allocations: 55.62 kB / 442.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2407, allocations: 0.5975 MB / 443 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.2425, allocations: 0.773 MB / 443.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.2432, allocations: 343.4 kB / 444.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002772/0.2459, allocations: 2.38 MB / 446.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.2474, allocations: 0.9814 MB / 447.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.2489, allocations: 1.102 MB / 448.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.2509, allocations: 1.308 MB / 449.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004165/0.2513, allocations: 283.9 kB / 450.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.252, allocations: 375.8 kB / 450.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008313/0.2528, allocations: 0.8103 MB / 451.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.254, allocations: 1.019 MB / 452.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004023/0.258, allocations: 3.741 MB / 456.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.258, allocations: 0 / 456.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.258, allocations: 0 / 456.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.611e-05/0.2581, allocations: 0 / 456.1 MB, free: 13.92 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005626/0.2637, allocations: 2.575 MB / 458.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2637, allocations: 19.97 kB / 458.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.2647, allocations: 299.3 kB / 459 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.2676, allocations: 1.349 MB / 460.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.2677, allocations: 132 kB / 460.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003298/0.268, allocations: 195.8 kB / 460.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/0.2723, allocations: 2.51 MB / 463.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/0.2724, allocations: 8 kB / 463.2 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.2726, allocations: 75.98 kB / 463.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.2727, allocations: 83.5 kB / 463.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.2764, allocations: 2.016 MB / 465.4 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.2882, allocations: 6.386 MB / 471.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.2901, allocations: 0.9915 MB / 472.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.292, allocations: 0.8612 MB / 473.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.2922, allocations: 40.97 kB / 473.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.2922, allocations: 43.56 kB / 473.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.046e-06/0.2922, allocations: 0 / 473.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009925/0.3021, allocations: 4.683 MB / 478.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.3022, allocations: 68.34 kB / 478.4 MB, free: 7.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.3041, allocations: 1.257 MB / 479.7 MB, free: 5.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/0.3042, allocations: 41.7 kB / 479.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007762/0.3049, allocations: 0.9337 MB / 480.7 MB, free: 4.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.3053, allocations: 372.8 kB / 481 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.3056, allocations: 210.9 kB / 481.2 MB, free: 4.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3058, allocations: 353.9 kB / 481.6 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.3069, allocations: 0.6349 MB / 482.2 MB, free: 3.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.3082, allocations: 0.9259 MB / 483.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.3107, allocations: 1.645 MB / 484.8 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3107, allocations: 4 kB / 484.8 MB, free: 0.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004457/0.3152, allocations: 2.364 MB / 487.2 MB, free: 14.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.3152, allocations: 12 kB / 487.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3152, allocations: 8 kB / 487.2 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/0.3171, allocations: 0.7168 MB / 487.9 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/0.318, allocations: 231.6 kB / 488.1 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.3301, allocations: 8.383 MB / 496.5 MB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.3314, allocations: 84.03 kB / 496.6 MB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.3315, allocations: 48.11 kB / 496.6 MB, free: 4.484 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.001171/0.3327, allocations: 0.634 MB / 497.3 MB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.333, allocations: 139.1 kB / 497.4 MB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.3366, allocations: 1.885 MB / 499.3 MB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3366, allocations: 12 kB / 499.3 MB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.3367, allocations: 4 kB / 499.3 MB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3367, allocations: 3.984 kB / 499.3 MB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007219/0.3439, allocations: 3.533 MB / 0.491 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3439, allocations: 0 / 0.491 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/0.3447, allocations: 179.8 kB / 0.4912 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.3461, allocations: 463.1 kB / 0.4917 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/0.3462, allocations: 31.86 kB / 0.4917 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007294/0.3535, allocations: 6.277 MB / 0.4978 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3535, allocations: 4.031 kB / 0.4978 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00476/0.3582, allocations: 2.756 MB / 0.5005 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/0.3591, allocations: 275 kB / 0.5008 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.3593, allocations: 28 kB / 0.5008 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/0.3601, allocations: 67.92 kB / 0.5009 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.3603, allocations: 92.7 kB / 0.501 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/0.3604, allocations: 27.98 kB / 0.501 GB, free: 3.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001359/0.3618, allocations: 0.8536 MB / 0.5018 GB, free: 2.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3618, allocations: 0 / 0.5018 GB, free: 2.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001467/0.3632, allocations: 431.9 kB / 0.5022 GB, free: 2.344 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.0003785/0.3636, allocations: 183 kB / 0.5024 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003603/0.3672, allocations: 1.942 MB / 0.5043 GB, free: 196 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3672, allocations: 4 kB / 0.5043 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.3694, allocations: 1.218 MB / 0.5055 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.3711, allocations: 323 kB / 0.5058 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006775/0.3779, allocations: 4.098 MB / 0.5098 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.3793, allocations: 1.11 MB / 0.5109 GB, free: 9.312 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009294/0.3802, allocations: 295 kB / 0.5112 GB, free: 9.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.3805, allocations: 95.41 kB / 0.5113 GB, free: 8.926 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3805, allocations: 0 / 0.5113 GB, free: 8.926 MB / 430.1 MB Notification: Performance of Templates: time 0.2275/0.608, allocations: 25.45 MB / 0.5361 GB, free: 103.7 MB / 446.1 MB " [Timeout remaining time 659] 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.767177304252982]