Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 209.4 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 66.58 kB / 347.2 MB, free: 9.938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2572, allocations: 49.16 MB / 396.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.009079/0.2663, allocations: 8.524 MB / 404.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005751/0.272, allocations: 3.295 MB / 408.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.2732, allocations: 49.94 kB / 408.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.2748, allocations: 0.6636 MB / 408.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.2769, allocations: 0.8809 MB / 409.8 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.278, allocations: 462.1 kB / 410.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003162/0.2811, allocations: 2.671 MB / 412.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.2826, allocations: 1.022 MB / 413.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.2844, allocations: 1.218 MB / 415.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.2864, allocations: 1.446 MB / 416.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004491/0.2869, allocations: 306 kB / 416.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.288, allocations: 0.543 MB / 417.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.2892, allocations: 1.041 MB / 418.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.2905, allocations: 1.197 MB / 419.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.2952, allocations: 4.306 MB / 424 MB, free: 7.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2952, allocations: 3.938 kB / 424 MB, free: 7.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2952, allocations: 0 / 424 MB, free: 7.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.131e-05/0.2953, allocations: 1.062 kB / 424 MB, free: 7.27 MB / 334.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.006412/0.3017, allocations: 3.158 MB / 427.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3017, allocations: 15.98 kB / 427.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000525/0.3023, allocations: 347.4 kB / 427.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000795/0.3031, allocations: 350.9 kB / 427.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.3061, allocations: 1.564 MB / 429.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.3063, allocations: 156.1 kB / 429.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.3066, allocations: 212 kB / 429.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00464/0.3112, allocations: 2.828 MB / 432.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/0.3113, allocations: 11.89 kB / 432.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.3115, allocations: 84 kB / 432.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.3116, allocations: 96.03 kB / 432.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/0.3157, allocations: 2.292 MB / 435.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.3287, allocations: 7.434 MB / 442.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.3315, allocations: 1.317 MB / 443.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.3335, allocations: 1.019 MB / 444.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.3337, allocations: 44.97 kB / 444.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.3337, allocations: 47.56 kB / 444.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.176e-06/0.3337, allocations: 0 / 444.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.0128/0.3465, allocations: 6.022 MB / 451 MB, free: 11.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3466, allocations: 64.72 kB / 451 MB, free: 11.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.3495, allocations: 2.164 MB / 453.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.3496, allocations: 53.7 kB / 453.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009266/0.3506, allocations: 1.141 MB / 454.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/0.351, allocations: 487.9 kB / 454.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004136/0.3514, allocations: 247.5 kB / 455.1 MB, free: 7.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3515, allocations: 353.9 kB / 455.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.3529, allocations: 0.7613 MB / 456.2 MB, free: 6.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.3544, allocations: 1.006 MB / 457.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.3573, allocations: 1.861 MB / 459.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3573, allocations: 4 kB / 459.1 MB, free: 3.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005131/0.3624, allocations: 2.754 MB / 461.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3624, allocations: 8 kB / 461.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.3624, allocations: 8 kB / 461.9 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.3644, allocations: 0.7775 MB / 462.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3655, allocations: 267.6 kB / 462.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.378, allocations: 9.297 MB / 472.2 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.3794, allocations: 87.89 kB / 472.3 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.3795, allocations: 59.97 kB / 472.3 MB, free: 6.023 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.00137/0.3809, allocations: 0.7472 MB / 473.1 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/0.3813, allocations: 210.6 kB / 473.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/0.386, allocations: 2.477 MB / 475.8 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.386, allocations: 15.94 kB / 475.8 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.386, allocations: 8 kB / 475.8 MB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.386, allocations: 11.97 kB / 475.8 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009048/0.3951, allocations: 4.645 MB / 480.4 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3951, allocations: 0 / 480.4 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.3961, allocations: 223.6 kB / 480.7 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.3979, allocations: 0.6472 MB / 481.3 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.985e-05/0.398, allocations: 31.98 kB / 481.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009893/0.4079, allocations: 8.328 MB / 489.7 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4079, allocations: 0 / 489.7 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006444/0.4143, allocations: 3.522 MB / 493.2 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.4157, allocations: 378.5 kB / 493.6 MB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.4159, allocations: 32 kB / 493.6 MB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.4168, allocations: 87.89 kB / 493.7 MB, free: 160 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/0.4171, allocations: 120.7 kB / 493.8 MB, free: 40 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.4172, allocations: 35.98 kB / 493.8 MB, free: 4 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002383/0.4196, allocations: 1.523 MB / 495.4 MB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4196, allocations: 0 / 495.4 MB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001738/0.4213, allocations: 0.5273 MB / 495.9 MB, free: 13.93 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.007718/0.4291, allocations: 4.464 MB / 0.4886 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004321/0.4334, allocations: 2.313 MB / 0.4909 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4334, allocations: 0 / 0.4909 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002511/0.4359, allocations: 1.456 MB / 0.4923 GB, free: 5.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.438, allocations: 454.2 kB / 0.4927 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/0.4725, allocations: 21.08 MB / 0.5133 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.4742, allocations: 1.388 MB / 0.5147 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.4754, allocations: 391.7 kB / 0.5151 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.4767, allocations: 0.9796 MB / 0.516 GB, free: 12.82 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4767, allocations: 0 / 0.516 GB, free: 12.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2773/0.7539, allocations: 54.64 MB / 0.5694 GB, free: 153.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.68, allocations: 5.922 kB / 0.5694 GB, free: 153.7 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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: 23.795027473941445]