Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 4 kB / 306.6 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 51.49 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01035/0.1423, allocations: 9.587 MB / 367.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008962/0.1513, allocations: 3.732 MB / 371.4 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.1545, allocations: 59.69 kB / 371.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2197/0.3743, allocations: 0.7356 MB / 372.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004665/0.379, allocations: 0.8957 MB / 373.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3803, allocations: 301.1 kB / 373.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005898/0.3862, allocations: 2.644 MB / 376 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/0.3898, allocations: 2.271 MB / 378.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.3932, allocations: 1.295 MB / 379.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.3974, allocations: 1.63 MB / 381.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008845/0.3984, allocations: 206.2 kB / 381.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.3998, allocations: 279.8 kB / 381.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.4011, allocations: 0.9876 MB / 382.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.4026, allocations: 0.7523 MB / 383.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00604/0.4086, allocations: 5.236 MB / 388.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4087, allocations: 0 / 388.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4087, allocations: 0 / 388.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002082/0.4089, allocations: 0 / 388.7 MB, free: 7.066 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01103/0.4199, allocations: 3.682 MB / 392.4 MB, free: 4.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.42, allocations: 12.28 kB / 392.4 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.4227, allocations: 476 kB / 392.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005562/0.4282, allocations: 2.269 MB / 395.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.4285, allocations: 236.6 kB / 395.3 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007229/0.4292, allocations: 314.5 kB / 395.6 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007175/0.4364, allocations: 4.331 MB / 400 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.665e-05/0.4365, allocations: 8.656 kB / 400 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/0.4367, allocations: 127.6 kB / 400.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.4369, allocations: 136.2 kB / 400.2 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006209/0.4431, allocations: 3.768 MB / 404 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02434/0.4674, allocations: 13.54 MB / 417.5 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.4711, allocations: 2.888 MB / 420.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.4714, allocations: 129.8 kB / 420.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.4715, allocations: 59.81 kB / 420.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 5.24e-06/0.4715, allocations: 3.984 kB / 420.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.01826/0.4898, allocations: 9.129 MB / 429.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.4899, allocations: 71.38 kB / 429.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.4934, allocations: 2.284 MB / 432.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.4936, allocations: 53.7 kB / 432.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.4946, allocations: 1.481 MB / 433.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/0.4951, allocations: 0.6015 MB / 434.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4953, allocations: 43.94 kB / 434.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4954, allocations: 385.9 kB / 434.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.4972, allocations: 1.144 MB / 435.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.4991, allocations: 1.575 MB / 437.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.501, allocations: 1.358 MB / 438.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.501, allocations: 4 kB / 438.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005841/0.5069, allocations: 3.612 MB / 442.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.5069, allocations: 19.94 kB / 442.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.507, allocations: 12 kB / 442.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.5089, allocations: 0.8124 MB / 443.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.5107, allocations: 459.3 kB / 443.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009886/0.5206, allocations: 10.51 MB / 454.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.523, allocations: 139.8 kB / 454.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.5232, allocations: 72 kB / 454.4 MB, free: 10.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002394/0.5256, allocations: 1.094 MB / 455.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/0.5262, allocations: 245 kB / 455.7 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005427/0.5316, allocations: 3.333 MB / 459 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.5317, allocations: 20 kB / 459 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.5317, allocations: 4 kB / 459 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.5317, allocations: 7.969 kB / 459.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.5437, allocations: 6.872 MB / 465.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.5437, allocations: 0 / 465.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.545, allocations: 307.8 kB / 466.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.5474, allocations: 0.9204 MB / 467.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.5476, allocations: 47.97 kB / 467.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/0.5608, allocations: 13.73 MB / 480.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.5609, allocations: 12.03 kB / 480.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008153/0.569, allocations: 5.057 MB / 486 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/0.571, allocations: 0.5682 MB / 486.6 MB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.5714, allocations: 43.94 kB / 486.6 MB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.5727, allocations: 131.8 kB / 486.7 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/0.5732, allocations: 149.8 kB / 486.9 MB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.5733, allocations: 55.98 kB / 486.9 MB, free: 8.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002777/0.5761, allocations: 1.57 MB / 488.5 MB, free: 6.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5761, allocations: 0 / 488.5 MB, free: 6.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003047/0.5792, allocations: 0.6992 MB / 489.2 MB, free: 6.023 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004322/0.5796, allocations: 174.4 kB / 489.4 MB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005639/0.5852, allocations: 3.623 MB / 493 MB, free: 2.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5853, allocations: 0 / 493 MB, free: 2.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.5889, allocations: 2.527 MB / 495.5 MB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/0.5924, allocations: 0.6631 MB / 496.2 MB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.6053, allocations: 7.984 MB / 0.4924 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/0.6078, allocations: 2.588 MB / 0.4949 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002213/0.61, allocations: 0.5866 MB / 0.4955 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/0.6105, allocations: 155.4 kB / 0.4956 GB, free: 3.445 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6105, allocations: 0 / 0.4956 GB, free: 3.445 MB / 414.1 MB Notification: Performance of Templates: time 0.2698/0.8803, allocations: 38.38 MB / 0.5331 GB, free: 143.9 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches