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.001995/0.001994, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 93.44 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.298e-05, allocations: 4 kB / 314.8 MB, free: 9.137 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3386, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.5325, allocations: 106.6 MB / 468.9 MB, free: 11.69 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.5329, allocations: 87.05 kB / 469 MB, free: 11.61 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.461/0.9939, allocations: 43.93 MB / 0.5009 GB, free: 97.94 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.994, allocations: 0 / 0.5009 GB, free: 97.94 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003015/0.9943, allocations: 49.75 kB / 0.501 GB, free: 97.94 MB / 395.1 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.007712/1.002, allocations: 2.071 MB / 0.503 GB, free: 97.47 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/1.002, allocations: 11.81 kB / 0.503 GB, free: 97.47 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/1.004, allocations: 276.1 kB / 0.5033 GB, free: 97.34 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005401/1.009, allocations: 1.427 MB / 0.5047 GB, free: 96.96 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/1.009, allocations: 66.34 kB / 0.5047 GB, free: 96.96 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007764/1.01, allocations: 118.9 kB / 0.5048 GB, free: 96.96 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00601/1.016, allocations: 1.736 MB / 0.5065 GB, free: 96.95 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007116/1.023, allocations: 2.092 MB / 0.5086 GB, free: 96.7 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/1.024, allocations: 11.56 kB / 0.5086 GB, free: 96.69 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/1.024, allocations: 3.688 kB / 0.5086 GB, free: 96.69 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/1.024, allocations: 87.45 kB / 0.5087 GB, free: 96.69 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/1.044, allocations: 7.073 MB / 0.5156 GB, free: 94.97 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/1.048, allocations: 1.311 MB / 0.5169 GB, free: 94.66 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/1.049, allocations: 0.6871 MB / 0.5175 GB, free: 94.64 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/1.05, allocations: 137.6 kB / 0.5177 GB, free: 94.55 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/1.051, allocations: 0.6563 MB / 0.5183 GB, free: 94.45 MB / 395.1 MB Notification: Performance of pre-optimization done (n=102): time 4.469e-06/1.051, allocations: 0.5625 kB / 0.5183 GB, free: 94.45 MB / 395.1 MB Notification: Performance of matching and sorting (n=130): time 0.01761/1.069, allocations: 6.068 MB / 0.5242 GB, free: 92.65 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/1.069, allocations: 193.4 kB / 0.5244 GB, free: 92.43 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/1.071, allocations: 1.001 MB / 0.5254 GB, free: 92.01 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002704/1.071, allocations: 33.02 kB / 0.5254 GB, free: 91.98 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007876/1.072, allocations: 0.9114 MB / 0.5263 GB, free: 91.23 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000484/1.073, allocations: 440.2 kB / 0.5267 GB, free: 90.89 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.073, allocations: 0 / 0.5267 GB, free: 90.89 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/1.073, allocations: 367.9 kB / 0.5271 GB, free: 90.56 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/1.074, allocations: 0.6414 MB / 0.5277 GB, free: 90.31 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/1.076, allocations: 0.99 MB / 0.5287 GB, free: 89.65 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/1.078, allocations: 0.8012 MB / 0.5295 GB, free: 89.36 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.078, allocations: 3.75 kB / 0.5295 GB, free: 89.36 MB / 395.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005578/1.083, allocations: 2.234 MB / 0.5316 GB, free: 88.61 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.083, allocations: 10 kB / 0.5316 GB, free: 88.61 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/1.083, allocations: 11.44 kB / 0.5317 GB, free: 88.61 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002526/1.086, allocations: 0.6447 MB / 0.5323 GB, free: 88.43 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/1.088, allocations: 305.5 kB / 0.5326 GB, free: 88.42 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.098, allocations: 6.182 MB / 0.5386 GB, free: 84.47 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.1, allocations: 72.69 kB / 0.5387 GB, free: 84.47 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/1.1, allocations: 60.84 kB / 0.5387 GB, free: 84.46 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 () * 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,84.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003638/1.101, allocations: 133.6 kB / 0.5389 GB, free: 84.34 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/1.101, allocations: 145.2 kB / 0.539 GB, free: 84.27 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005724/1.107, allocations: 2.21 MB / 0.5412 GB, free: 83.47 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/1.107, allocations: 11.19 kB / 0.5412 GB, free: 83.47 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.107, allocations: 7.344 kB / 0.5412 GB, free: 83.47 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.107, allocations: 7.359 kB / 0.5412 GB, free: 83.47 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/1.118, allocations: 4.483 MB / 0.5456 GB, free: 81.58 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.118, allocations: 3.656 kB / 0.5456 GB, free: 81.58 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/1.12, allocations: 180.8 kB / 0.5457 GB, free: 81.57 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003129/1.123, allocations: 0.7301 MB / 0.5465 GB, free: 81.38 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/1.123, allocations: 14.25 kB / 0.5465 GB, free: 81.37 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/1.135, allocations: 7.836 MB / 0.5541 GB, free: 76.03 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.135, allocations: 4.938 kB / 0.5541 GB, free: 76.03 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007395/1.143, allocations: 3.285 MB / 0.5573 GB, free: 74.53 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.144, allocations: 378 kB / 0.5577 GB, free: 74.29 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/1.145, allocations: 11.45 kB / 0.5577 GB, free: 74.29 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.146, allocations: 60.81 kB / 0.5578 GB, free: 74.28 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/1.147, allocations: 105.1 kB / 0.5579 GB, free: 74.26 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.147, allocations: 42.69 kB / 0.5579 GB, free: 74.25 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001496/1.148, allocations: 0.7573 MB / 0.5586 GB, free: 73.92 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.148, allocations: 4 kB / 0.5586 GB, free: 73.91 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002608/1.151, allocations: 455.1 kB / 0.5591 GB, free: 73.89 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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,63.3%) 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.001554/1.152, allocations: 0.523 MB / 0.5596 GB, free: 73.63 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005086/1.158, allocations: 2.234 MB / 0.5618 GB, free: 71.54 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.158, allocations: 2.062 kB / 0.5618 GB, free: 71.54 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00372/1.161, allocations: 1.529 MB / 0.5633 GB, free: 70.12 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/1.164, allocations: 304.3 kB / 0.5636 GB, free: 69.88 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00841/1.173, allocations: 3.477 MB / 0.567 GB, free: 66.75 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/1.174, allocations: 1.737 MB / 0.5687 GB, free: 65.33 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/1.175, allocations: 111.1 kB / 0.5688 GB, free: 65.23 MB / 395.1 MB Notification: Performance of SimCode: time 1.262e-06/1.175, allocations: 0 / 0.5688 GB, free: 65.23 MB / 395.1 MB Notification: Performance of Templates: time 0.09108/1.266, allocations: 60.6 MB / 0.6279 GB, free: 8.75 MB / 395.1 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