Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009938/0.0009941, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007915/0.0007915, allocations: 86.22 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.621e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.08196, allocations: 47.58 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/0.3788, allocations: 102.2 MB / 465.2 MB, free: 9.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.3791, allocations: 89.19 kB / 465.3 MB, free: 9.727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1039/0.483, allocations: 40.53 MB / 0.494 GB, free: 6.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.483, allocations: 0 / 0.494 GB, free: 6.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000119/0.4832, allocations: 55.94 kB / 0.494 GB, free: 6.582 MB / 378.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.003477/0.4867, allocations: 1.992 MB / 0.496 GB, free: 4.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.4867, allocations: 8.031 kB / 0.496 GB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006238/0.4873, allocations: 261.2 kB / 0.4962 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.4896, allocations: 1.408 MB / 0.4976 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.4897, allocations: 56 kB / 0.4977 GB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.49, allocations: 115.9 kB / 0.4978 GB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002763/0.4927, allocations: 1.749 MB / 0.4995 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.496, allocations: 2.069 MB / 0.5015 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/0.4961, allocations: 11.92 kB / 0.5015 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.4962, allocations: 0 / 0.5015 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.839e-05/0.4963, allocations: 83.5 kB / 0.5016 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.5065, allocations: 7.136 MB / 0.5086 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.5082, allocations: 1.239 MB / 0.5098 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.5093, allocations: 0.7241 MB / 0.5105 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.5095, allocations: 133.8 kB / 0.5106 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5096, allocations: 43.34 kB / 0.5107 GB, free: 5.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 2.334e-06/0.5096, allocations: 0 / 0.5107 GB, free: 5.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=103): time 0.006917/0.5165, allocations: 3.925 MB / 0.5145 GB, free: 1.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.5166, allocations: 60.72 kB / 0.5146 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.5179, allocations: 0.989 MB / 0.5155 GB, free: 15.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.518, allocations: 25.7 kB / 0.5155 GB, free: 15.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000593/0.5186, allocations: 0.8998 MB / 0.5164 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.5189, allocations: 354.8 kB / 0.5168 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.5189, allocations: 0 / 0.5168 GB, free: 14.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5191, allocations: 353.9 kB / 0.5171 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/0.5199, allocations: 0.5883 MB / 0.5177 GB, free: 13.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009785/0.5209, allocations: 0.8652 MB / 0.5185 GB, free: 12.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009835/0.5219, allocations: 0.7245 MB / 0.5192 GB, free: 12.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5219, allocations: 4 kB / 0.5192 GB, free: 12.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003668/0.5256, allocations: 2.249 MB / 0.5214 GB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5256, allocations: 15.95 kB / 0.5214 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.5256, allocations: 8 kB / 0.5214 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.5276, allocations: 0.7665 MB / 0.5222 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009122/0.5285, allocations: 235.7 kB / 0.5224 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.5387, allocations: 8.174 MB / 0.5304 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5397, allocations: 59.81 kB / 0.5305 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.943e-05/0.5398, allocations: 51.94 kB / 0.5305 GB, free: 244 kB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.54, allocations: 132.8 kB / 0.5306 GB, free: 104 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1676/0.7076, allocations: 127.2 kB / 0.5308 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/0.7112, allocations: 1.775 MB / 0.5325 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.7113, allocations: 12.72 kB / 0.5325 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7113, allocations: 9.266 kB / 0.5325 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.7113, allocations: 8.062 kB / 0.5325 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006358/0.7177, allocations: 3.623 MB / 0.5361 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.7177, allocations: 7.047 kB / 0.5361 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/0.7185, allocations: 198 kB / 0.5363 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.7198, allocations: 459.7 kB / 0.5367 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.8e-05/0.7199, allocations: 14.92 kB / 0.5367 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/0.7248, allocations: 5.91 MB / 0.5425 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7248, allocations: 6.359 kB / 0.5425 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.7286, allocations: 2.738 MB / 0.5452 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/0.7294, allocations: 349.9 kB / 0.5455 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.7297, allocations: 10.75 kB / 0.5455 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.7305, allocations: 57.25 kB / 0.5456 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.7307, allocations: 83.55 kB / 0.5456 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.7308, allocations: 34.31 kB / 0.5457 GB, free: 104.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.732, allocations: 0.7484 MB / 0.5464 GB, free: 104.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.732, allocations: 0 / 0.5464 GB, free: 104.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001518/0.7335, allocations: 414.4 kB / 0.5468 GB, free: 104.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004847/0.734, allocations: 273.5 kB / 0.5471 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.7367, allocations: 1.92 MB / 0.5489 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7367, allocations: 0 / 0.5489 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.7383, allocations: 1.279 MB / 0.5502 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.7396, allocations: 270.7 kB / 0.5504 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.744, allocations: 3.221 MB / 0.5536 GB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009565/0.745, allocations: 1.733 MB / 0.5553 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008023/0.7458, allocations: 295.9 kB / 0.5556 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.746, allocations: 89.22 kB / 0.5556 GB, free: 102.4 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.746, allocations: 4 kB / 0.5556 GB, free: 102.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02503/0.7711, allocations: 19.59 MB / 0.5748 GB, free: 101.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches