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.001031/0.001031, allocations: 82.28 kB / 22.21 MB, free: 2.297 MB / 18.57 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.001051/0.001051, allocations: 144.6 kB / 25.59 MB, free: 8.566 MB / 18.57 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 0.966/0.966, allocations: 173.4 MB / 202.3 MB, free: 8.309 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.833e-06/1.833e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.516e-05, allocations: 6.25 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007929/0.007955, allocations: 8.648 MB / 277.9 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005272/0.01323, allocations: 2.808 MB / 280.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.01408, allocations: 51.69 kB / 280.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.01534, allocations: 0.5938 MB / 281.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.01706, allocations: 0.7955 MB / 282.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.01774, allocations: 335.4 kB / 282.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.01988, allocations: 2.435 MB / 284.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.021, allocations: 0.993 MB / 285.9 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.02308, allocations: 1.742 MB / 287.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.02461, allocations: 1.224 MB / 288.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004709/0.02508, allocations: 272 kB / 289.1 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.0256, allocations: 355.8 kB / 289.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005319/0.02613, allocations: 0.8102 MB / 290.3 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007662/0.0269, allocations: 0.8652 MB / 291.1 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.02863, allocations: 1.994 MB / 293.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.02864, allocations: 0 / 293.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02864, allocations: 0 / 293.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.498e-05/0.02866, allocations: 0 / 293.1 MB, free: 1.777 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.002794/0.03146, allocations: 2.611 MB / 295.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.0315, allocations: 15.97 kB / 295.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006466/0.03215, allocations: 423.3 kB / 296.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.03338, allocations: 1.2 MB / 297.4 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.03345, allocations: 132 kB / 297.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.03363, allocations: 192.3 kB / 297.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.03513, allocations: 1.368 MB / 299 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.03517, allocations: 7.922 kB / 299 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.03528, allocations: 72 kB / 299.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.797e-05/0.03535, allocations: 83.5 kB / 299.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007718/0.03612, allocations: 0.5177 MB / 299.7 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0058/0.04192, allocations: 5.944 MB / 305.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.04262, allocations: 0.5132 MB / 306.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.04324, allocations: 457.8 kB / 306.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.04336, allocations: 44.92 kB / 306.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.04339, allocations: 46.33 kB / 306.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 2.575e-06/0.04339, allocations: 0 / 306.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.00356/0.04695, allocations: 2.192 MB / 308.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.04699, allocations: 64.41 kB / 309 MB, free: 1.473 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008994/0.04789, allocations: 1.061 MB / 310 MB, free: 408 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.04795, allocations: 45.69 kB / 310.1 MB, free: 356 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/0.04855, allocations: 1.003 MB / 311.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.04876, allocations: 384.8 kB / 311.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.04901, allocations: 220.4 kB / 311.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.04916, allocations: 0.5393 MB / 312.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.04937, allocations: 146.5 kB / 312.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.04991, allocations: 0.5572 MB / 312.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.05059, allocations: 0.8193 MB / 313.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.0506, allocations: 0 / 313.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001528/0.05212, allocations: 1.14 MB / 314.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.05215, allocations: 12 kB / 314.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.05216, allocations: 8 kB / 314.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.05322, allocations: 499.8 kB / 315.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.05367, allocations: 211.6 kB / 315.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.05804, allocations: 5.407 MB / 321 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.05863, allocations: 43.94 kB / 321 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.05869, allocations: 39.98 kB / 321.1 MB, free: 4.738 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%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004264/0.05912, allocations: 224.3 kB / 321.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.05933, allocations: 167.2 kB / 321.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.06051, allocations: 0.8608 MB / 322.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.06052, allocations: 12 kB / 322.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.06053, allocations: 7.984 kB / 322.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.06053, allocations: 3.984 kB / 322.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.06369, allocations: 2.152 MB / 324.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.06369, allocations: 0 / 324.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.06412, allocations: 151.8 kB / 324.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000593/0.06471, allocations: 266.5 kB / 324.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.674e-05/0.0648, allocations: 27.98 kB / 324.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003272/0.06807, allocations: 6.035 MB / 331 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.06807, allocations: 3.938 kB / 331 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.0698, allocations: 1.245 MB / 332.2 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.07022, allocations: 219.1 kB / 332.4 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.07034, allocations: 23.98 kB / 332.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.0707, allocations: 39.98 kB / 332.5 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.07084, allocations: 84.72 kB / 332.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.07089, allocations: 27.98 kB / 332.6 MB, free: 8.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005453/0.07143, allocations: 0.5952 MB / 333.2 MB, free: 8.074 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07143, allocations: 0 / 333.2 MB, free: 8.074 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001308/0.07274, allocations: 423.9 kB / 333.6 MB, free: 7.66 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004311/0.07317, allocations: 175 kB / 333.8 MB, free: 7.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.07464, allocations: 1.166 MB / 334.9 MB, free: 6.273 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.07464, allocations: 4.062 kB / 334.9 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008892/0.07553, allocations: 0.9457 MB / 335.9 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.07659, allocations: 326.6 kB / 336.2 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.0812, allocations: 3.33 MB / 339.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.08164, allocations: 0.5152 MB / 340 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004802/0.08212, allocations: 167.2 kB / 340.2 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.08267, allocations: 382 kB / 340.6 MB, free: 456 kB / 314.7 MB Notification: Performance of SimCode: time 1.814e-06/0.08267, allocations: 0 / 340.6 MB, free: 456 kB / 314.7 MB Notification: Performance of Templates: time 0.1351/0.2178, allocations: 23.95 MB / 364.5 MB, free: 79.67 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.459013527724892]