Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001705, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001985/0.001985, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 63.91 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.11, allocations: 53.38 MB / 427.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2476/0.3577, allocations: 27.12 MB / 454.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.3755, allocations: 8.179 MB / 462.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007874/0.3833, allocations: 236.4 kB / 462.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.021/0.4043, allocations: 9.474 MB / 472.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.417, allocations: 3.352 MB / 475.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006473/0.4235, allocations: 1.828 MB / 477.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0196/0.4431, allocations: 12.24 MB / 489.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03376/0.4768, allocations: 18.65 MB / 0.4963 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.4891, allocations: 6.577 MB / 0.5027 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01543/0.5046, allocations: 7.285 MB / 0.5098 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006382/0.511, allocations: 1.84 MB / 0.5116 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009363/0.5203, allocations: 2.226 MB / 0.5138 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007047/0.5274, allocations: 3.62 MB / 0.5173 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01349/0.5409, allocations: 6.923 MB / 0.5241 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03563/0.5765, allocations: 24.82 MB / 0.5483 GB, free: 5.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.5765, allocations: 4 kB / 0.5483 GB, free: 5.285 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5765, allocations: 0 / 0.5483 GB, free: 5.285 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007715/0.5773, allocations: 0 / 0.5483 GB, free: 5.285 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04797/0.6252, allocations: 14.76 MB / 0.5627 GB, free: 6.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.6253, allocations: 8.031 kB / 0.5627 GB, free: 6.398 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000376/0.6257, allocations: 329.2 kB / 0.563 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006975/0.6326, allocations: 1.795 MB / 0.5648 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05035/0.683, allocations: 8.436 MB / 0.573 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02106/0.704, allocations: 7.696 MB / 0.5805 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/0.7052, allocations: 0.8068 MB / 0.5813 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005539/0.7107, allocations: 1.062 MB / 0.5824 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05522/0.7659, allocations: 18.34 MB / 0.6003 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006244/0.7666, allocations: 19.94 kB / 0.6003 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005317/0.7719, allocations: 451.9 kB / 0.6007 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009587/0.7728, allocations: 0.6672 MB / 0.6014 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0463/0.8191, allocations: 17.6 MB / 0.6186 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5587/1.378, allocations: 59.39 MB / 0.6766 GB, free: 114.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.027/1.405, allocations: 36.99 MB / 0.7127 GB, free: 78.99 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006315/1.411, allocations: 3.751 MB / 0.7164 GB, free: 77.02 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/1.412, allocations: 308.4 kB / 0.7167 GB, free: 76.78 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/1.412, allocations: 93.45 kB / 0.7167 GB, free: 76.69 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=520): time 9.668e-06/1.412, allocations: 3.531 kB / 0.7168 GB, free: 76.69 MB / 0.5138 GB Notification: Performance of matching and sorting (n=599): time 0.07112/1.483, allocations: 34.31 MB / 0.7503 GB, free: 49.41 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.483, allocations: 112.1 kB / 0.7504 GB, free: 49.29 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/1.488, allocations: 4.19 MB / 0.7545 GB, free: 45.12 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000739/1.489, allocations: 125.7 kB / 0.7546 GB, free: 44.99 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00176/1.49, allocations: 4.675 MB / 0.7591 GB, free: 40.86 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001651/1.492, allocations: 2.12 MB / 0.7612 GB, free: 38.76 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001889/1.494, allocations: 1.467 MB / 0.7626 GB, free: 37.29 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/1.494, allocations: 301.1 kB / 0.7629 GB, free: 36.99 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004651/1.499, allocations: 3.931 MB / 0.7668 GB, free: 33.06 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005614/1.504, allocations: 6.396 MB / 0.773 GB, free: 25.58 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.516, allocations: 11.14 MB / 0.7839 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-05/1.516, allocations: 28 kB / 0.7839 GB, free: 13.26 MB / 0.5138 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.0205/1.537, allocations: 13.12 MB / 0.7967 GB, free: 60 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/1.537, allocations: 40 kB / 0.7968 GB, free: 20 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/1.537, allocations: 76.05 kB / 0.7968 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008604/1.545, allocations: 2.894 MB / 0.7997 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006795/1.552, allocations: 1.634 MB / 0.8013 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03855/1.591, allocations: 24.14 MB / 0.8248 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005765/1.596, allocations: 419.5 kB / 0.8252 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.598, allocations: 359.9 kB / 0.8256 GB, free: 2.242 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (846): * Single equations (assignments): 843 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,56,41.8%), (14,56,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00802/1.606, allocations: 4.266 MB / 0.8298 GB, free: 13.96 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/1.607, allocations: 0.5124 MB / 0.8303 GB, free: 13.45 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/1.628, allocations: 10.67 MB / 0.8407 GB, free: 2.676 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2674/1.895, allocations: 9.135 MB / 0.8496 GB, free: 181.1 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001215/1.895, allocations: 23 kB / 0.8496 GB, free: 181.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001824/1.896, allocations: 30.33 kB / 0.8496 GB, free: 181.1 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04459/1.94, allocations: 23.1 MB / 0.8722 GB, free: 172.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-05/1.94, allocations: 0 / 0.8722 GB, free: 172.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004458/1.945, allocations: 0.9608 MB / 0.8731 GB, free: 172.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007468/1.952, allocations: 2.602 MB / 0.8757 GB, free: 171.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001139/1.953, allocations: 126.8 kB / 0.8758 GB, free: 171.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02478/1.978, allocations: 20.3 MB / 0.8956 GB, free: 160.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.978, allocations: 9.672 kB / 0.8956 GB, free: 160.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/1.999, allocations: 15.21 MB / 0.9105 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003263/2.002, allocations: 1.331 MB / 0.9118 GB, free: 147.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/2.004, allocations: 107.9 kB / 0.9119 GB, free: 147.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/2.007, allocations: 283.7 kB / 0.9122 GB, free: 147.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009921/2.008, allocations: 425.4 kB / 0.9126 GB, free: 147.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003315/2.008, allocations: 168 kB / 0.9127 GB, free: 146.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003587/2.012, allocations: 2.819 MB / 0.9155 GB, free: 144.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2e-07/2.012, allocations: 0 / 0.9155 GB, free: 144.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00806/2.02, allocations: 2.15 MB / 0.9176 GB, free: 141.9 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vSourceQS.plug_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (511): * Single equations (assignments): 508 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,50,41.3%), (14,56,37.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02191/2.042, allocations: 15.99 MB / 0.9332 GB, free: 125.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01675/2.058, allocations: 10.34 MB / 0.9433 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/2.058, allocations: 4 kB / 0.9433 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009946/2.068, allocations: 5.251 MB / 0.9484 GB, free: 110.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006698/2.075, allocations: 1.154 MB / 0.9496 GB, free: 109 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1139/2.189, allocations: 70.45 MB / 1.018 GB, free: 35.77 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0093/2.198, allocations: 7.193 MB / 1.025 GB, free: 28.52 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005294/2.204, allocations: 2.347 MB / 1.028 GB, free: 26.17 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006152/2.21, allocations: 3.975 MB / 1.032 GB, free: 22.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.322e-06/2.21, allocations: 2.516 kB / 1.032 GB, free: 22.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4772/2.687, allocations: 168.8 MB / 1.196 GB, free: 78.55 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.59/25.28, allocations: 8 kB / 1.196 GB, free: 78.54 MB / 0.5763 GB " [Timeout remaining time 634] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.294147636042908]