Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 178.7 kB / 8.476 MB, free: 1.871 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.508/1.508, allocations: 205.2 MB / 214.1 MB, free: 5.164 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.001066/0.001066, allocations: 94.22 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.272e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0836/0.08362, allocations: 47.57 MB / 362.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3079/0.3916, allocations: 112.1 MB / 474.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.3918, allocations: 83.08 kB / 474.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2037/0.5955, allocations: 82.39 MB / 0.5441 GB, free: 1.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002609/0.5958, allocations: 75.94 kB / 0.5441 GB, free: 1.371 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.009476/0.6053, allocations: 3.307 MB / 0.5474 GB, free: 14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6053, allocations: 11.97 kB / 0.5474 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/0.6101, allocations: 0.745 MB / 0.5481 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009827/0.6199, allocations: 3.368 MB / 0.5514 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.6203, allocations: 108 kB / 0.5515 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001658/0.6219, allocations: 191.8 kB / 0.5517 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01046/0.6324, allocations: 3.203 MB / 0.5548 GB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.6451, allocations: 3.709 MB / 0.5584 GB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/0.6454, allocations: 0 / 0.5584 GB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00096/0.6463, allocations: 4 kB / 0.5584 GB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/0.6465, allocations: 150.4 kB / 0.5586 GB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02798/0.6745, allocations: 12.94 MB / 0.5712 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.6766, allocations: 1.119 MB / 0.5723 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/0.679, allocations: 1.357 MB / 0.5736 GB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.179/0.8581, allocations: 4.112 MB / 0.5776 GB, free: 131.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/0.8597, allocations: 0.9568 MB / 0.5786 GB, free: 131.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=160): time 6.602e-06/0.8598, allocations: 0 / 0.5786 GB, free: 131.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=168): time 0.01043/0.8702, allocations: 5.638 MB / 0.5841 GB, free: 130.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.8703, allocations: 228.8 kB / 0.5843 GB, free: 130.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.8724, allocations: 1.371 MB / 0.5856 GB, free: 130.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.8725, allocations: 33.33 kB / 0.5857 GB, free: 130.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009971/0.8735, allocations: 1.184 MB / 0.5868 GB, free: 129.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.8739, allocations: 0.5457 MB / 0.5874 GB, free: 129.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.8739, allocations: 0 / 0.5874 GB, free: 129.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8741, allocations: 382.8 kB / 0.5877 GB, free: 129.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009726/0.875, allocations: 0.7345 MB / 0.5884 GB, free: 129.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.8763, allocations: 1.28 MB / 0.5897 GB, free: 128.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.8778, allocations: 1.023 MB / 0.5907 GB, free: 128.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.8778, allocations: 3.969 kB / 0.5907 GB, free: 128.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.003731/0.8816, allocations: 2.528 MB / 0.5932 GB, free: 128.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8816, allocations: 9.438 kB / 0.5932 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.8816, allocations: 17.25 kB / 0.5932 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/0.8823, allocations: 287.1 kB / 0.5935 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.8839, allocations: 432.4 kB / 0.5939 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004067/0.888, allocations: 5.521 MB / 0.5993 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.8897, allocations: 61.69 kB / 0.5993 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.8899, allocations: 81.52 kB / 0.5994 GB, free: 124.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (225): * Single equations (assignments): 221 * 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 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003548/0.8902, allocations: 155.1 kB / 0.5995 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.8905, allocations: 191.6 kB / 0.5997 GB, free: 124.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.8949, allocations: 2.419 MB / 0.6021 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.895, allocations: 14.06 kB / 0.6021 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.895, allocations: 13.34 kB / 0.6021 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.895, allocations: 8.812 kB / 0.6021 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00778/0.9028, allocations: 5.399 MB / 0.6074 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.9028, allocations: 7.094 kB / 0.6074 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.9039, allocations: 223.3 kB / 0.6076 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.905, allocations: 458 kB / 0.6081 GB, free: 122.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.9051, allocations: 19.81 kB / 0.6081 GB, free: 122.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007877/0.913, allocations: 9.546 MB / 0.6174 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.9131, allocations: 3.906 kB / 0.6174 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00589/0.919, allocations: 3.505 MB / 0.6208 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.9201, allocations: 456.1 kB / 0.6213 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005446/0.9207, allocations: 11.09 kB / 0.6213 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.9219, allocations: 46.05 kB / 0.6213 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.9221, allocations: 97.19 kB / 0.6214 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.413e-05/0.9222, allocations: 43.88 kB / 0.6214 GB, free: 115.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001551/0.9237, allocations: 1.029 MB / 0.6224 GB, free: 115.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002336/0.9261, allocations: 0.5703 MB / 0.623 GB, free: 115.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (132): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009516/0.9271, allocations: 0.5403 MB / 0.6235 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.9298, allocations: 2.264 MB / 0.6257 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.9298, allocations: 3.562 kB / 0.6257 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.9316, allocations: 1.512 MB / 0.6272 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.9332, allocations: 366.2 kB / 0.6276 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00851/0.9418, allocations: 4.796 MB / 0.6323 GB, free: 113.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/0.9442, allocations: 2.551 MB / 0.6347 GB, free: 112.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9442, allocations: 2.844 kB / 0.6348 GB, free: 112.7 MB / 426.7 MB Notification: Performance of Templates: time 0.04843/0.9926, allocations: 28.65 MB / 0.6627 GB, free: 108 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches