Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 96.97 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.275e-05, allocations: 0 / 337 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09567, allocations: 50.42 MB / 387.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/0.4323, allocations: 110 MB / 497.4 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4325, allocations: 87.94 kB / 497.5 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3879/0.8204, allocations: 64.72 MB / 0.5491 GB, free: 96.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8205, allocations: 0.7031 kB / 0.5491 GB, free: 96.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004133/0.8209, allocations: 83.62 kB / 0.5491 GB, free: 96.11 MB / 426.7 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.009903/0.8308, allocations: 3.266 MB / 0.5523 GB, free: 95.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.8309, allocations: 14.05 kB / 0.5523 GB, free: 95.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/0.8333, allocations: 445 kB / 0.5528 GB, free: 95.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005726/0.839, allocations: 2.374 MB / 0.5551 GB, free: 94.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.8392, allocations: 99 kB / 0.5552 GB, free: 94.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005514/0.8397, allocations: 186 kB / 0.5553 GB, free: 94.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007048/0.8468, allocations: 3.286 MB / 0.5586 GB, free: 94.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007795/0.8546, allocations: 3.792 MB / 0.5623 GB, free: 94.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.693e-05/0.8547, allocations: 10.12 kB / 0.5623 GB, free: 94.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.855, allocations: 6.391 kB / 0.5623 GB, free: 94.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.8552, allocations: 129.5 kB / 0.5624 GB, free: 94.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.8785, allocations: 12.97 MB / 0.5751 GB, free: 91.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.8811, allocations: 2.811 MB / 0.5778 GB, free: 90.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.8828, allocations: 1.465 MB / 0.5792 GB, free: 90.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/0.8831, allocations: 141.7 kB / 0.5794 GB, free: 90.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.8831, allocations: 53.84 kB / 0.5794 GB, free: 90.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=167): time 3.867e-06/0.8831, allocations: 3.406 kB / 0.5794 GB, free: 90.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=183): time 0.01028/0.8934, allocations: 6.283 MB / 0.5856 GB, free: 87.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.8935, allocations: 78.19 kB / 0.5856 GB, free: 87.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.8959, allocations: 1.7 MB / 0.5873 GB, free: 86.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.896, allocations: 26.64 kB / 0.5873 GB, free: 86.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007294/0.8968, allocations: 1.465 MB / 0.5888 GB, free: 85.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/0.8971, allocations: 0.5894 MB / 0.5893 GB, free: 85.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.8972, allocations: 0 / 0.5893 GB, free: 85.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8974, allocations: 382.5 kB / 0.5897 GB, free: 84.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.8985, allocations: 1.046 MB / 0.5907 GB, free: 84.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.8999, allocations: 1.433 MB / 0.5921 GB, free: 83.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.9014, allocations: 1.255 MB / 0.5933 GB, free: 83.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.9014, allocations: 5.812 kB / 0.5934 GB, free: 83.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004587/0.906, allocations: 3.273 MB / 0.5966 GB, free: 81.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.906, allocations: 19.91 kB / 0.5966 GB, free: 81.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.9061, allocations: 11.75 kB / 0.5966 GB, free: 81.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/0.9077, allocations: 0.7751 MB / 0.5973 GB, free: 81.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.9094, allocations: 469.5 kB / 0.5978 GB, free: 81.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007265/0.9167, allocations: 9.832 MB / 0.6074 GB, free: 73.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.9191, allocations: 88.8 kB / 0.6075 GB, free: 73.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/0.9195, allocations: 77.81 kB / 0.6075 GB, free: 73.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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.0004391/0.9199, allocations: 156.8 kB / 0.6077 GB, free: 73.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005527/0.9205, allocations: 224.5 kB / 0.6079 GB, free: 73.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004542/0.925, allocations: 3.086 MB / 0.6109 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.9251, allocations: 21.23 kB / 0.6109 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.9251, allocations: 7.5 kB / 0.611 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.9251, allocations: 11.11 kB / 0.611 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009787/0.9349, allocations: 6.237 MB / 0.6171 GB, free: 70.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.9349, allocations: 0 / 0.6171 GB, free: 70.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.9362, allocations: 310.1 kB / 0.6173 GB, free: 70.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/0.9383, allocations: 0.8971 MB / 0.6182 GB, free: 69.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.9384, allocations: 23.3 kB / 0.6182 GB, free: 69.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008801/0.9472, allocations: 12.95 MB / 0.6309 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.9473, allocations: 0 / 0.6309 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00912/0.9564, allocations: 4.769 MB / 0.6355 GB, free: 57.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002423/0.9589, allocations: 0.5379 MB / 0.6361 GB, free: 56.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008773/0.9598, allocations: 15.47 kB / 0.6361 GB, free: 56.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/0.962, allocations: 100.3 kB / 0.6362 GB, free: 56.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005236/0.9626, allocations: 169 kB / 0.6363 GB, free: 56.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/0.9628, allocations: 51.2 kB / 0.6364 GB, free: 56.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002889/0.9657, allocations: 1.286 MB / 0.6376 GB, free: 55.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9657, allocations: 4 kB / 0.6377 GB, free: 55.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004297/0.97, allocations: 0.6407 MB / 0.6383 GB, free: 54.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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.0009254/0.971, allocations: 336.4 kB / 0.6386 GB, free: 54.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007125/0.9781, allocations: 3.364 MB / 0.6419 GB, free: 51.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.9781, allocations: 4 kB / 0.6419 GB, free: 51.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005092/0.9832, allocations: 2.389 MB / 0.6442 GB, free: 49.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005116/0.9884, allocations: 0.5255 MB / 0.6447 GB, free: 48.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.004, allocations: 5.466 MB / 0.6501 GB, free: 43.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003865/1.008, allocations: 2.585 MB / 0.6526 GB, free: 41.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003855/1.012, allocations: 0.5566 MB / 0.6531 GB, free: 41.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008341/1.012, allocations: 150.2 kB / 0.6533 GB, free: 41.34 MB / 426.7 MB Notification: Performance of SimCode: time 2.104e-06/1.012, allocations: 0 / 0.6533 GB, free: 41.34 MB / 426.7 MB Notification: Performance of Templates: time 0.09615/1.109, allocations: 33.41 MB / 0.6859 GB, free: 13.64 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches