Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007387/0.0007385, allocations: 89.05 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 12 kB / 327.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1903, allocations: 47.57 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01766/0.208, allocations: 21.85 MB / 397.1 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.2199, allocations: 7.101 MB / 404.2 MB, free: 19.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004227/0.2242, allocations: 143.5 kB / 404.3 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00454/0.2288, allocations: 1.344 MB / 405.7 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007776/0.2366, allocations: 2.523 MB / 408.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.2403, allocations: 1.224 MB / 409.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01336/0.2536, allocations: 13.72 MB / 423.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03735/0.291, allocations: 23.09 MB / 446.2 MB, free: 9.418 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006963/0.298, allocations: 4.393 MB / 450.6 MB, free: 5.012 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007425/0.3055, allocations: 4.888 MB / 455.5 MB, free: 108 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002435/0.308, allocations: 0.6641 MB / 456.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/0.3124, allocations: 1.046 MB / 457.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00305/0.3155, allocations: 2.11 MB / 459.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007834/0.3234, allocations: 4.855 MB / 464.2 MB, free: 7.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01794/0.3413, allocations: 19.6 MB / 483.8 MB, free: 3.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3414, allocations: 4 kB / 483.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3414, allocations: 0 / 483.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005523/0.3419, allocations: 0 / 483.8 MB, free: 3.738 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.02885/0.3708, allocations: 11.36 MB / 495.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3708, allocations: 12.03 kB / 495.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004456/0.3753, allocations: 1.649 MB / 496.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3072/0.6825, allocations: 7.234 MB / 0.4922 GB, free: 90.5 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.6937, allocations: 6.512 MB / 0.4986 GB, free: 87.81 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006593/0.6944, allocations: 0.7366 MB / 0.4993 GB, free: 87.48 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/0.6972, allocations: 0.9702 MB / 0.5002 GB, free: 87.16 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02997/0.7272, allocations: 16.57 MB / 0.5164 GB, free: 78.96 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003017/0.7275, allocations: 15.84 kB / 0.5164 GB, free: 78.94 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002011/0.7295, allocations: 411.2 kB / 0.5168 GB, free: 78.55 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004439/0.73, allocations: 0.5948 MB / 0.5174 GB, free: 77.96 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02516/0.7552, allocations: 15.74 MB / 0.5328 GB, free: 62.2 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07106/0.8262, allocations: 54.1 MB / 0.5856 GB, free: 7.371 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/0.8457, allocations: 22.7 MB / 0.6078 GB, free: 14.46 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006286/0.852, allocations: 3.827 MB / 0.6115 GB, free: 10.61 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02087/0.8729, allocations: 11.79 MB / 0.623 GB, free: 14.74 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.873, allocations: 73.39 kB / 0.6231 GB, free: 14.66 MB / 426.8 MB Notification: Performance of pre-optimization done (n=363): time 5.49e-06/0.873, allocations: 4 kB / 0.6231 GB, free: 14.66 MB / 426.8 MB Notification: Performance of matching and sorting (n=368): time 0.04007/0.9131, allocations: 17.52 MB / 0.6402 GB, free: 13 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.9132, allocations: 86.27 kB / 0.6403 GB, free: 12.9 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007678/0.9209, allocations: 4.73 MB / 0.6449 GB, free: 8.145 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005267/0.9214, allocations: 89.7 kB / 0.645 GB, free: 8.051 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002826/0.9242, allocations: 4.488 MB / 0.6494 GB, free: 3.535 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/0.9257, allocations: 1.272 MB / 0.6506 GB, free: 2.273 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/0.9263, allocations: 116 kB / 0.6507 GB, free: 2.16 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000455/0.9267, allocations: 0.55 MB / 0.6513 GB, free: 1.602 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004675/0.9314, allocations: 2.916 MB / 0.6541 GB, free: 14.68 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005914/0.9374, allocations: 5.286 MB / 0.6593 GB, free: 8.289 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1732/1.111, allocations: 8.683 MB / 0.6678 GB, free: 150.9 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.374e-05/1.111, allocations: 22.66 kB / 0.6678 GB, free: 150.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01687/1.128, allocations: 9.623 MB / 0.6772 GB, free: 148 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/1.128, allocations: 41.72 kB / 0.6772 GB, free: 148 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/1.128, allocations: 81.88 kB / 0.6773 GB, free: 148 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/1.131, allocations: 1.399 MB / 0.6787 GB, free: 147.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004754/1.136, allocations: 1.338 MB / 0.68 GB, free: 147.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/1.151, allocations: 11.64 MB / 0.6914 GB, free: 140.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/1.155, allocations: 376.2 kB / 0.6917 GB, free: 140.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.156, allocations: 306.1 kB / 0.692 GB, free: 140.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005753/1.162, allocations: 3.913 MB / 0.6958 GB, free: 138.8 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008665/1.163, allocations: 449.8 kB / 0.6963 GB, free: 138.8 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.173, allocations: 6.816 MB / 0.7029 GB, free: 136 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007585/1.181, allocations: 5.618 MB / 0.7084 GB, free: 133.5 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.646e-05/1.181, allocations: 13.31 kB / 0.7084 GB, free: 133.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/1.181, allocations: 24.66 kB / 0.7084 GB, free: 133.5 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02096/1.202, allocations: 15.52 MB / 0.7236 GB, free: 118.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/1.202, allocations: 8.531 kB / 0.7236 GB, free: 118.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.204, allocations: 0.6709 MB / 0.7243 GB, free: 118 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/1.207, allocations: 1.26 MB / 0.7255 GB, free: 116.7 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/1.208, allocations: 95.97 kB / 0.7256 GB, free: 116.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/1.219, allocations: 10.57 MB / 0.7359 GB, free: 106 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.219, allocations: 8 kB / 0.7359 GB, free: 105.9 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/1.231, allocations: 10.07 MB / 0.7457 GB, free: 95.85 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.233, allocations: 1.046 MB / 0.7468 GB, free: 94.78 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/1.234, allocations: 83.88 kB / 0.7468 GB, free: 94.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/1.236, allocations: 219.8 kB / 0.7471 GB, free: 94.48 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007556/1.236, allocations: 279.1 kB / 0.7473 GB, free: 94.21 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/1.237, allocations: 116 kB / 0.7474 GB, free: 94.09 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003597/1.24, allocations: 3.198 MB / 0.7506 GB, free: 90.89 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.3e-07/1.24, allocations: 0 / 0.7506 GB, free: 90.89 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004658/1.245, allocations: 1.693 MB / 0.7522 GB, free: 89.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01287/1.258, allocations: 11.07 MB / 0.763 GB, free: 78.05 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01049/1.268, allocations: 7.555 MB / 0.7704 GB, free: 70.46 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.268, allocations: 0.875 kB / 0.7704 GB, free: 70.46 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005027/1.273, allocations: 3.602 MB / 0.7739 GB, free: 66.84 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006371/1.28, allocations: 0.9704 MB / 0.7749 GB, free: 65.87 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0858/1.366, allocations: 52.28 MB / 0.8259 GB, free: 10.93 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1551/1.521, allocations: 6.381 MB / 0.8322 GB, free: 151.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005757/1.527, allocations: 3.595 MB / 0.8357 GB, free: 151.2 MB / 458.8 MB Notification: Performance of SimCode: time 9.02e-07/1.527, allocations: 0 / 0.8357 GB, free: 151.2 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.564/10.09, allocations: 262.5 MB / 1.092 GB, free: 73.77 MB / 458.8 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches