Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [: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 trunk/package.mo): time 0.002153/0.002153, allocations: 195.8 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000893/0.0008931, allocations: 90.59 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/6.072e-06, allocations: 0 / 343.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08664, allocations: 51.48 MB / 394.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2969/0.3835, allocations: 119.6 MB / 0.5022 GB, free: 6.145 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.3839, allocations: 98.88 kB / 0.5023 GB, free: 6.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.4887/0.8726, allocations: 135.1 MB / 0.6342 GB, free: 73.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006277/0.8733, allocations: 132 kB / 0.6344 GB, free: 73.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.018/0.8913, allocations: 4.823 MB / 0.6391 GB, free: 70.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.8914, allocations: 8.531 kB / 0.6391 GB, free: 70.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007551/0.8989, allocations: 1.02 MB / 0.6401 GB, free: 70.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/0.914, allocations: 4.535 MB / 0.6445 GB, free: 68.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004573/0.9145, allocations: 157.3 kB / 0.6447 GB, free: 68.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002231/0.9167, allocations: 286.8 kB / 0.6449 GB, free: 68.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0141/0.9309, allocations: 5.221 MB / 0.65 GB, free: 65.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.9507, allocations: 5.971 MB / 0.6559 GB, free: 63.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003325/0.9511, allocations: 12 kB / 0.6559 GB, free: 63.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001977/0.9531, allocations: 3.438 kB / 0.6559 GB, free: 63.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002721/0.9534, allocations: 243.5 kB / 0.6561 GB, free: 63.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04513/0.9985, allocations: 20.28 MB / 0.6759 GB, free: 52.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/1.002, allocations: 1.994 MB / 0.6779 GB, free: 51.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004149/1.006, allocations: 2.599 MB / 0.6804 GB, free: 50.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/1.018, allocations: 5.734 MB / 0.686 GB, free: 47.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/1.018, allocations: 61.91 kB / 0.6861 GB, free: 47.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=254): time 6.773e-06/1.018, allocations: 0 / 0.6861 GB, free: 47.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=261): time 0.01579/1.033, allocations: 7.832 MB / 0.6937 GB, free: 43.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/1.034, allocations: 81.47 kB / 0.6938 GB, free: 43.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/1.038, allocations: 2.135 MB / 0.6959 GB, free: 41.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000251/1.038, allocations: 29.64 kB / 0.6959 GB, free: 41.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008681/1.039, allocations: 1.709 MB / 0.6976 GB, free: 40.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006468/1.04, allocations: 0.8351 MB / 0.6984 GB, free: 39.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/1.04, allocations: 0 / 0.6984 GB, free: 39.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/1.04, allocations: 416.5 kB / 0.6988 GB, free: 38.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/1.042, allocations: 1.356 MB / 0.7001 GB, free: 37.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/1.044, allocations: 1.94 MB / 0.702 GB, free: 35.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/1.047, allocations: 1.729 MB / 0.7037 GB, free: 34.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.047, allocations: 8 kB / 0.7037 GB, free: 34.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.006846/1.054, allocations: 4.259 MB / 0.7078 GB, free: 30.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.054, allocations: 6.344 kB / 0.7079 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/1.054, allocations: 20 kB / 0.7079 GB, free: 30.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/1.055, allocations: 0.6574 MB / 0.7085 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/1.058, allocations: 0.61 MB / 0.7091 GB, free: 29.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008594/1.067, allocations: 9.394 MB / 0.7183 GB, free: 19.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/1.069, allocations: 59.86 kB / 0.7183 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005291/1.07, allocations: 108 kB / 0.7184 GB, free: 19.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (306): * Single equations (assignments): 301 * 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: 4 * 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: 4 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008304/1.071, allocations: 168.3 kB / 0.7186 GB, free: 19.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009792/1.072, allocations: 296.4 kB / 0.7189 GB, free: 19.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/1.079, allocations: 4.05 MB / 0.7228 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/1.079, allocations: 24 kB / 0.7229 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-05/1.079, allocations: 16 kB / 0.7229 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/1.079, allocations: 15.94 kB / 0.7229 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.093, allocations: 8.624 MB / 0.7313 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/1.093, allocations: 4 kB / 0.7313 GB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/1.095, allocations: 399.7 kB / 0.7317 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/1.098, allocations: 0.8137 MB / 0.7325 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004006/1.098, allocations: 31.97 kB / 0.7325 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1729/1.271, allocations: 13.5 MB / 0.7457 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.271, allocations: 5.125 kB / 0.7457 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008481/1.28, allocations: 6.219 MB / 0.7518 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.281, allocations: 0.6914 MB / 0.7525 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/1.282, allocations: 21 kB / 0.7525 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.283, allocations: 86.53 kB / 0.7526 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/1.284, allocations: 156.7 kB / 0.7527 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.284, allocations: 74.61 kB / 0.7528 GB, free: 104.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002311/1.286, allocations: 1.606 MB / 0.7544 GB, free: 104.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00307/1.289, allocations: 0.8834 MB / 0.7552 GB, free: 104.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 185 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(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.0007267/1.29, allocations: 454.6 kB / 0.7557 GB, free: 104.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005115/1.295, allocations: 3.908 MB / 0.7595 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.295, allocations: 2.594 kB / 0.7595 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003373/1.299, allocations: 2.541 MB / 0.762 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003202/1.302, allocations: 0.5892 MB / 0.7625 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.317, allocations: 7.98 MB / 0.7703 GB, free: 101.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004139/1.321, allocations: 3.705 MB / 0.7739 GB, free: 100.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.193e-06/1.321, allocations: 3.625 kB / 0.7739 GB, free: 100.9 MB / 442.7 MB Notification: Performance of Templates: time 0.07522/1.397, allocations: 46.02 MB / 0.8189 GB, free: 98.47 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches