Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002306/0.002306, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 84.44 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003729, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3331, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5023, allocations: 107.3 MB / 481.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.5026, allocations: 95.94 kB / 481.9 MB, free: 5.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4483/0.951, allocations: 44.46 MB / 0.5141 GB, free: 95.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.9511, allocations: 0 / 0.5141 GB, free: 95.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002149/0.9513, allocations: 51.84 kB / 0.5141 GB, free: 95.75 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.008141/0.9595, allocations: 2.304 MB / 0.5164 GB, free: 94.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.9595, allocations: 10.28 kB / 0.5164 GB, free: 94.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.9611, allocations: 271.1 kB / 0.5166 GB, free: 94.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00466/0.9657, allocations: 1.443 MB / 0.5181 GB, free: 93.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.966, allocations: 140.8 kB / 0.5182 GB, free: 93.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006204/0.9666, allocations: 190.2 kB / 0.5184 GB, free: 93.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006266/0.9729, allocations: 2.406 MB / 0.5207 GB, free: 92.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.452e-05/0.973, allocations: 9.359 kB / 0.5207 GB, free: 92.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/0.9733, allocations: 75.44 kB / 0.5208 GB, free: 92.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.9734, allocations: 90.91 kB / 0.5209 GB, free: 92.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005612/0.9791, allocations: 1.894 MB / 0.5227 GB, free: 91.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.9979, allocations: 7.448 MB / 0.53 GB, free: 84.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/1.001, allocations: 1.384 MB / 0.5314 GB, free: 83.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/1.001, allocations: 134 kB / 0.5315 GB, free: 83.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/1.003, allocations: 0.7061 MB / 0.5322 GB, free: 82.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 4.078e-06/1.003, allocations: 0 / 0.5322 GB, free: 82.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=130): time 0.03097/1.034, allocations: 8.368 MB / 0.5403 GB, free: 74.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/1.034, allocations: 171.5 kB / 0.5405 GB, free: 73.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/1.037, allocations: 1.228 MB / 0.5417 GB, free: 72.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003181/1.037, allocations: 49.7 kB / 0.5418 GB, free: 72.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008258/1.038, allocations: 0.8869 MB / 0.5426 GB, free: 71.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006362/1.039, allocations: 457.2 kB / 0.5431 GB, free: 71.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/1.039, allocations: 24 kB / 0.5431 GB, free: 71.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/1.039, allocations: 375 kB / 0.5434 GB, free: 70.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/1.041, allocations: 0.7027 MB / 0.5441 GB, free: 70.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/1.043, allocations: 1.059 MB / 0.5452 GB, free: 68.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/1.045, allocations: 0.8535 MB / 0.546 GB, free: 68.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/1.045, allocations: 4 kB / 0.546 GB, free: 68.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006328/1.052, allocations: 2.429 MB / 0.5484 GB, free: 65.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/1.052, allocations: 8 kB / 0.5484 GB, free: 65.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/1.052, allocations: 12 kB / 0.5484 GB, free: 65.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/1.054, allocations: 0.6611 MB / 0.549 GB, free: 64.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/1.057, allocations: 303.5 kB / 0.5493 GB, free: 64.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/1.068, allocations: 6.686 MB / 0.5559 GB, free: 57.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.07, allocations: 107.9 kB / 0.556 GB, free: 57.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/1.071, allocations: 59.98 kB / 0.556 GB, free: 57.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 145 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001816/1.073, allocations: 0.6345 MB / 0.5566 GB, free: 56.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/1.073, allocations: 158.1 kB / 0.5568 GB, free: 56.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006812/1.08, allocations: 2.402 MB / 0.5591 GB, free: 54.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/1.08, allocations: 16 kB / 0.5591 GB, free: 54.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.08, allocations: 8 kB / 0.5592 GB, free: 54.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.218e-05/1.08, allocations: 3.984 kB / 0.5592 GB, free: 54.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/1.093, allocations: 4.792 MB / 0.5638 GB, free: 49.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/1.093, allocations: 0 / 0.5638 GB, free: 49.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.095, allocations: 195.8 kB / 0.564 GB, free: 49.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003358/1.098, allocations: 0.7384 MB / 0.5647 GB, free: 48.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002683/1.098, allocations: 35.98 kB / 0.5648 GB, free: 48.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/1.112, allocations: 8.42 MB / 0.573 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.112, allocations: 3.953 kB / 0.573 GB, free: 39.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008534/1.121, allocations: 3.461 MB / 0.5764 GB, free: 36.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/1.122, allocations: 402.9 kB / 0.5768 GB, free: 35.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004787/1.123, allocations: 36.27 kB / 0.5768 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/1.124, allocations: 75.92 kB / 0.5769 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004067/1.125, allocations: 97.16 kB / 0.577 GB, free: 35.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.125, allocations: 39.98 kB / 0.577 GB, free: 35.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002052/1.127, allocations: 0.9519 MB / 0.5779 GB, free: 34.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.422e-06/1.127, allocations: 0 / 0.5779 GB, free: 34.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002652/1.13, allocations: 0.5194 MB / 0.5784 GB, free: 33.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(7,59.2%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/1.131, allocations: 0.6108 MB / 0.579 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005992/1.137, allocations: 2.399 MB / 0.5814 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.137, allocations: 0.625 kB / 0.5814 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00421/1.142, allocations: 1.641 MB / 0.583 GB, free: 29.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/1.145, allocations: 379.6 kB / 0.5833 GB, free: 28.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.156, allocations: 5.191 MB / 0.5884 GB, free: 23.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/1.157, allocations: 1.737 MB / 0.5901 GB, free: 21.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007623/1.158, allocations: 119.4 kB / 0.5902 GB, free: 21.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/1.158, allocations: 11.94 kB / 0.5902 GB, free: 21.66 MB / 378.7 MB Notification: Performance of Templates: time 0.3893/1.548, allocations: 62.09 MB / 0.6509 GB, free: 115.1 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches