Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") [: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.002509/0.002509, allocations: 176.6 kB / 8.149 MB, free: 2.062 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.845/1.845, allocations: 205.2 MB / 213.8 MB, free: 13.88 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.001289/0.001289, allocations: 94.45 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.345e-06/8.496e-06, allocations: 0 / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2485, allocations: 47.55 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.4312, allocations: 112.5 MB / 474.4 MB, free: 5.473 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/0.4316, allocations: 91.92 kB / 474.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.8165/1.248, allocations: 157.3 MB / 0.6169 GB, free: 22.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007203/1.249, allocations: 167.8 kB / 0.6171 GB, free: 22.55 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02919/1.278, allocations: 6.454 MB / 0.6234 GB, free: 16.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.278, allocations: 8.688 kB / 0.6234 GB, free: 16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/1.292, allocations: 1.525 MB / 0.6249 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02189/1.314, allocations: 5.758 MB / 0.6305 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005222/1.314, allocations: 232 kB / 0.6307 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002993/1.317, allocations: 415.8 kB / 0.6311 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0264/1.344, allocations: 7.026 MB / 0.638 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03442/1.378, allocations: 8.12 MB / 0.6459 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005104/1.379, allocations: 11.84 kB / 0.6459 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002557/1.381, allocations: 4 kB / 0.6459 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005239/1.382, allocations: 330.2 kB / 0.6462 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2458/1.628, allocations: 27.69 MB / 0.6733 GB, free: 84.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005496/1.633, allocations: 2.145 MB / 0.6754 GB, free: 84.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008176/1.642, allocations: 3.022 MB / 0.6783 GB, free: 84.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02797/1.67, allocations: 8.302 MB / 0.6864 GB, free: 83.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.505e-05/1.67, allocations: 71.44 kB / 0.6865 GB, free: 83.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=326): time 7.084e-06/1.67, allocations: 3.281 kB / 0.6865 GB, free: 83.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=332): time 0.03104/1.701, allocations: 8.94 MB / 0.6952 GB, free: 81.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/1.701, allocations: 88.11 kB / 0.6953 GB, free: 81.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006712/1.708, allocations: 2.384 MB / 0.6977 GB, free: 81.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006897/1.708, allocations: 25.7 kB / 0.6977 GB, free: 81.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/1.71, allocations: 2.326 MB / 0.7 GB, free: 80.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001581/1.711, allocations: 1.091 MB / 0.701 GB, free: 79.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/1.712, allocations: 3.281 kB / 0.701 GB, free: 79.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003284/1.712, allocations: 468.8 kB / 0.7015 GB, free: 79.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00468/1.717, allocations: 1.543 MB / 0.703 GB, free: 79.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/1.723, allocations: 2.579 MB / 0.7055 GB, free: 77.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007013/1.73, allocations: 2.136 MB / 0.7076 GB, free: 77.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.861e-05/1.73, allocations: 11.78 kB / 0.7076 GB, free: 77.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.016/1.746, allocations: 4.747 MB / 0.7122 GB, free: 77.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.746, allocations: 3.75 kB / 0.7122 GB, free: 77.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.613e-05/1.746, allocations: 34.69 kB / 0.7123 GB, free: 77.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/1.748, allocations: 396.3 kB / 0.7126 GB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007966/1.756, allocations: 0.8994 MB / 0.7135 GB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009134/1.765, allocations: 6.963 MB / 0.7203 GB, free: 72.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003919/1.769, allocations: 86.31 kB / 0.7204 GB, free: 72.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.77, allocations: 170.9 kB / 0.7206 GB, free: 72.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 472 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001105/1.771, allocations: 130.9 kB / 0.7207 GB, free: 72.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.772, allocations: 356.8 kB / 0.721 GB, free: 72.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.789, allocations: 4.615 MB / 0.7255 GB, free: 70.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.249e-05/1.789, allocations: 34.44 kB / 0.7256 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.226e-05/1.789, allocations: 10.94 kB / 0.7256 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.324e-05/1.789, allocations: 20.36 kB / 0.7256 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03254/1.822, allocations: 10.42 MB / 0.7358 GB, free: 66.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/1.822, allocations: 3.406 kB / 0.7358 GB, free: 66.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0054/1.827, allocations: 0.4981 MB / 0.7363 GB, free: 66.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00456/1.832, allocations: 0.8541 MB / 0.7371 GB, free: 65.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008768/1.833, allocations: 37.06 kB / 0.7371 GB, free: 65.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02569/1.859, allocations: 15.07 MB / 0.7518 GB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/1.859, allocations: 7.047 kB / 0.7519 GB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02049/1.879, allocations: 7.074 MB / 0.7588 GB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003618/1.883, allocations: 0.7792 MB / 0.7595 GB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001871/1.885, allocations: 22.61 kB / 0.7595 GB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004957/1.89, allocations: 105.9 kB / 0.7596 GB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/1.891, allocations: 184.2 kB / 0.7598 GB, free: 50.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003794/1.891, allocations: 91.69 kB / 0.7599 GB, free: 50.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.005317/1.897, allocations: 1.764 MB / 0.7616 GB, free: 49.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007819/1.905, allocations: 1.083 MB / 0.7627 GB, free: 49.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 258 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/1.906, allocations: 460.1 kB / 0.7631 GB, free: 49.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0121/1.918, allocations: 4.417 MB / 0.7674 GB, free: 46.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.918, allocations: 4 kB / 0.7674 GB, free: 46.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008087/1.926, allocations: 2.809 MB / 0.7702 GB, free: 43.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007467/1.934, allocations: 0.6359 MB / 0.7708 GB, free: 43.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04025/1.974, allocations: 10.15 MB / 0.7807 GB, free: 34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01238/1.987, allocations: 4.553 MB / 0.7852 GB, free: 30.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.933e-06/1.987, allocations: 0 / 0.7852 GB, free: 30.53 MB / 410.7 MB Notification: Performance of Templates: time 0.896/2.883, allocations: 278.5 MB / 1.057 GB, free: 74.51 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter_MultiPhase/SMR_Inverter_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches