Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 51.92 kB / 365.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09442, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01186/0.1063, allocations: 9.711 MB / 427.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007245/0.1135, allocations: 3.564 MB / 431.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.1149, allocations: 51.81 kB / 431.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.1171, allocations: 0.6989 MB / 431.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.1199, allocations: 0.8817 MB / 432.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1211, allocations: 454.1 kB / 433.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003709/0.1249, allocations: 2.65 MB / 435.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.1268, allocations: 1.378 MB / 437.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.1286, allocations: 1.187 MB / 438.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.1308, allocations: 1.545 MB / 439.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004754/0.1312, allocations: 304 kB / 440.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.1324, allocations: 0.5893 MB / 440.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.1334, allocations: 1.036 MB / 441.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.1353, allocations: 1.481 MB / 443.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.208/0.3433, allocations: 4.304 MB / 447.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3433, allocations: 0 / 447.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3433, allocations: 0 / 447.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001396/0.3435, allocations: 1.469 kB / 447.6 MB, free: 14.85 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005923/0.3494, allocations: 3.245 MB / 450.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3494, allocations: 9.656 kB / 450.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000512/0.3499, allocations: 349 kB / 451.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007689/0.3507, allocations: 347.6 kB / 451.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.3539, allocations: 1.72 MB / 453.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.354, allocations: 154.4 kB / 453.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/0.3544, allocations: 215.7 kB / 453.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004784/0.3591, allocations: 2.728 MB / 456.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.078e-05/0.3592, allocations: 6.328 kB / 456.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.3594, allocations: 83.8 kB / 456.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.3595, allocations: 97.94 kB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004086/0.3636, allocations: 2.297 MB / 458.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.3758, allocations: 8.23 MB / 467.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.3783, allocations: 1.536 MB / 468.6 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.3801, allocations: 1.029 MB / 469.7 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.3803, allocations: 127.1 kB / 469.8 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3803, allocations: 45.61 kB / 469.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.096e-06/0.3803, allocations: 0 / 469.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01159/0.3919, allocations: 6.497 MB / 476.3 MB, free: 4.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.3919, allocations: 65.25 kB / 476.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.3943, allocations: 2.156 MB / 478.5 MB, free: 3.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.3944, allocations: 53.92 kB / 478.6 MB, free: 3.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005272/0.3949, allocations: 1.145 MB / 479.7 MB, free: 2.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.3951, allocations: 479.2 kB / 480.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.3955, allocations: 242.7 kB / 480.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.3955, allocations: 359.6 kB / 480.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3966, allocations: 0.7593 MB / 481.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.3977, allocations: 1.017 MB / 482.6 MB, free: 184 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.4004, allocations: 1.859 MB / 484.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.4004, allocations: 0 / 484.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004643/0.405, allocations: 2.76 MB / 487.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.405, allocations: 7.344 kB / 487.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.405, allocations: 10.97 kB / 487.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/0.407, allocations: 0.7882 MB / 488 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.4081, allocations: 265.5 kB / 488.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.4206, allocations: 9.6 MB / 497.9 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.422, allocations: 91.83 kB / 497.9 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.4221, allocations: 55.98 kB / 498 MB, free: 2.789 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001341/0.4235, allocations: 0.7427 MB / 498.7 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/0.4239, allocations: 210.6 kB / 498.9 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/0.4285, allocations: 2.476 MB / 0.4897 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/0.4285, allocations: 12 kB / 0.4897 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.4285, allocations: 8 kB / 0.4897 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.4285, allocations: 7.969 kB / 0.4897 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009339/0.4379, allocations: 4.94 MB / 0.4945 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4379, allocations: 8.156 kB / 0.4945 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.4389, allocations: 215.8 kB / 0.4947 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.4406, allocations: 0.643 MB / 0.4954 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.4407, allocations: 39.97 kB / 0.4954 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009967/0.4507, allocations: 8.738 MB / 0.5039 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4507, allocations: 4.031 kB / 0.5039 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.4571, allocations: 3.523 MB / 0.5074 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/0.4585, allocations: 455.3 kB / 0.5078 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.4588, allocations: 24 kB / 0.5078 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009782/0.4597, allocations: 87.89 kB / 0.5079 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.46, allocations: 108.8 kB / 0.508 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/0.4601, allocations: 35.98 kB / 0.5081 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002187/0.4623, allocations: 1.519 MB / 0.5095 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4623, allocations: 4 kB / 0.5095 GB, free: 10.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00192/0.4642, allocations: 0.5338 MB / 0.5101 GB, free: 10.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008272/0.4725, allocations: 4.452 MB / 0.5144 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00487/0.4774, allocations: 2.294 MB / 0.5167 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.4774, allocations: 4.125 kB / 0.5167 GB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002836/0.4802, allocations: 1.541 MB / 0.5182 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.4828, allocations: 442.7 kB / 0.5186 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03315/0.516, allocations: 21.07 MB / 0.5392 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/0.5178, allocations: 1.964 MB / 0.5411 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.5189, allocations: 387.7 kB / 0.5414 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.5202, allocations: 0.9757 MB / 0.5424 GB, free: 8.762 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5202, allocations: 0 / 0.5424 GB, free: 8.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/0.6261, allocations: 51.5 MB / 0.5927 GB, free: 5.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.97/23.6, allocations: 3.859 kB / 0.5927 GB, free: 5.656 MB / 494.1 MB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 34.80153281381354]