Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001328/0.001328, allocations: 83.92 kB / 20.68 MB, free: 1.023 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.001579/0.001579, allocations: 168.1 kB / 23.96 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.477/1.477, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.763e-05, allocations: 6.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01152/0.01154, allocations: 7.97 MB / 333 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006979/0.01852, allocations: 2.78 MB / 335.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.01979, allocations: 56.72 kB / 335.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.02145, allocations: 0.606 MB / 336.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.02383, allocations: 0.807 MB / 337.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.02461, allocations: 336.6 kB / 337.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003117/0.02773, allocations: 2.458 MB / 340.1 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.02933, allocations: 0.9792 MB / 341.1 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/0.03219, allocations: 1.594 MB / 342.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.03445, allocations: 1.181 MB / 343.8 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.03495, allocations: 276 kB / 344.1 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.03582, allocations: 383.7 kB / 344.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009566/0.03678, allocations: 0.8336 MB / 345.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.03815, allocations: 0.8692 MB / 346.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004754/0.04291, allocations: 3.739 MB / 349.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.04292, allocations: 0 / 349.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.04292, allocations: 3.938 kB / 349.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.234e-05/0.043, allocations: 4 kB / 349.9 MB, free: 12.2 MB / 318.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.005657/0.04866, allocations: 2.56 MB / 352.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.04871, allocations: 8.031 kB / 352.5 MB, free: 9.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.04976, allocations: 307.3 kB / 352.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.05231, allocations: 1.348 MB / 354.1 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.05245, allocations: 139.9 kB / 354.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/0.05276, allocations: 176.4 kB / 354.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.05711, allocations: 2.514 MB / 357 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.88e-05/0.05716, allocations: 3.953 kB / 357 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.05734, allocations: 72 kB / 357 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.05745, allocations: 91.48 kB / 357.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003927/0.06138, allocations: 2.02 MB / 359.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.07307, allocations: 6.39 MB / 365.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.07502, allocations: 0.985 MB / 366.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.07695, allocations: 0.8577 MB / 367.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.07715, allocations: 56.83 kB / 367.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.07719, allocations: 43.56 kB / 367.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 3.717e-06/0.0772, allocations: 0 / 367.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01015/0.08734, allocations: 4.679 MB / 372.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.08739, allocations: 60.41 kB / 372.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.08931, allocations: 1.245 MB / 373.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.198e-05/0.0894, allocations: 45.7 kB / 373.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007578/0.09016, allocations: 0.9336 MB / 374.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.09048, allocations: 360.9 kB / 374.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.09085, allocations: 218.8 kB / 375 MB, free: 2.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.09102, allocations: 353.9 kB / 375.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.09206, allocations: 0.635 MB / 376 MB, free: 1.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.09335, allocations: 0.922 MB / 376.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/0.09581, allocations: 1.645 MB / 378.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.09582, allocations: 0 / 378.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004442/0.1003, allocations: 2.364 MB / 380.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.1003, allocations: 11.94 kB / 380.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.1003, allocations: 8 kB / 380.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.1022, allocations: 0.7212 MB / 381.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/0.1032, allocations: 235.6 kB / 381.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.1146, allocations: 8.386 MB / 390.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.1157, allocations: 87.81 kB / 390.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.1158, allocations: 47.98 kB / 390.4 MB, free: 2.785 MB / 350.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.001139/0.1169, allocations: 0.6264 MB / 391 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.1172, allocations: 139.1 kB / 391.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/0.1208, allocations: 1.889 MB / 393.1 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.1208, allocations: 12 kB / 393.1 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1208, allocations: 3.938 kB / 393.1 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.1208, allocations: 11.97 kB / 393.1 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006625/0.1275, allocations: 3.529 MB / 396.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1275, allocations: 4 kB / 396.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/0.1283, allocations: 180 kB / 396.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.1296, allocations: 465.4 kB / 397.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/0.1297, allocations: 40.05 kB / 397.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00712/0.1368, allocations: 6.26 MB / 403.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1368, allocations: 0 / 403.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004975/0.1418, allocations: 2.756 MB / 406.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008584/0.1427, allocations: 271 kB / 406.6 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.1429, allocations: 20 kB / 406.6 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.1436, allocations: 67.92 kB / 406.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.1439, allocations: 88.7 kB / 406.7 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/0.1439, allocations: 39.98 kB / 406.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001509/0.1455, allocations: 0.8613 MB / 407.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1455, allocations: 0 / 407.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001741/0.1472, allocations: 431.9 kB / 408.1 MB, free: 0.6445 MB / 366.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.0003943/0.1476, allocations: 189.5 kB / 408.3 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003947/0.1515, allocations: 1.942 MB / 410.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.1515, allocations: 0 / 410.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002295/0.1538, allocations: 1.217 MB / 411.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.1557, allocations: 318.8 kB / 411.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006777/0.1625, allocations: 3.907 MB / 415.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/0.164, allocations: 1.114 MB / 416.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000927/0.1649, allocations: 299 kB / 417 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.1653, allocations: 96.47 kB / 417.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1653, allocations: 0 / 417.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of Templates: time 0.04166/0.2069, allocations: 22.99 MB / 440.1 MB, free: 0.6953 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.259191602468491]