Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.001534/0.001534, allocations: 106.9 kB / 21.96 MB, free: 4.703 MB / 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.00171/0.00171, allocations: 218 kB / 25.26 MB, free: 2.875 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.334/1.334, allocations: 207.7 MB / 236.1 MB, free: 9.801 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_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="cs",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.001669/0.001669, allocations: 55.92 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2488, allocations: 49.15 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008727/0.2576, allocations: 8.273 MB / 405.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005415/0.263, allocations: 2.853 MB / 408.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.2644, allocations: 53.59 kB / 408.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.2661, allocations: 0.6287 MB / 408.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.2684, allocations: 0.8171 MB / 409.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.2691, allocations: 361.2 kB / 410.1 MB, free: 364 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00322/0.2723, allocations: 2.684 MB / 412.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.2739, allocations: 1.108 MB / 413.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.2759, allocations: 1.216 MB / 415.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.2781, allocations: 1.53 MB / 416.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003945/0.2785, allocations: 308.5 kB / 417 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008026/0.2793, allocations: 396.9 kB / 417.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009561/0.2802, allocations: 0.9075 MB / 418.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.2816, allocations: 1.136 MB / 419.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.286, allocations: 4.123 MB / 423.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.286, allocations: 0 / 423.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.286, allocations: 0 / 423.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.588e-05/0.2861, allocations: 1.125 kB / 423.5 MB, free: 8.086 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.006273/0.2924, allocations: 2.85 MB / 426.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2924, allocations: 11.98 kB / 426.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.156e-05/0.2925, allocations: 52.22 kB / 426.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004037/0.2929, allocations: 299.4 kB / 426.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007807/0.2937, allocations: 307.2 kB / 427 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.2962, allocations: 1.386 MB / 428.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.2963, allocations: 152.2 kB / 428.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.2967, allocations: 203.9 kB / 428.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/0.3013, allocations: 2.84 MB / 431.6 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/0.3014, allocations: 4 kB / 431.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.3016, allocations: 80 kB / 431.7 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.3017, allocations: 99.92 kB / 431.8 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00416/0.3058, allocations: 2.319 MB / 434.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.3194, allocations: 7.553 MB / 441.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.3214, allocations: 1.244 MB / 442.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.3233, allocations: 1.011 MB / 443.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.3235, allocations: 48.91 kB / 443.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.3235, allocations: 43.56 kB / 444 MB, free: 3.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.105e-06/0.3235, allocations: 0 / 444 MB, free: 3.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01309/0.3366, allocations: 5.955 MB / 449.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.3367, allocations: 64.41 kB / 450 MB, free: 13.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.3389, allocations: 1.52 MB / 451.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.905e-05/0.339, allocations: 49.7 kB / 451.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/0.3398, allocations: 1.005 MB / 452.6 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/0.3401, allocations: 436.3 kB / 453 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.3405, allocations: 255.5 kB / 453.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3407, allocations: 361.9 kB / 453.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3419, allocations: 0.7261 MB / 454.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.3433, allocations: 1.063 MB / 455.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.3459, allocations: 1.871 MB / 457.3 MB, free: 6.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.3459, allocations: 4 kB / 457.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004074/0.35, allocations: 2.346 MB / 459.6 MB, free: 3.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.35, allocations: 12.03 kB / 459.6 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3501, allocations: 12 kB / 459.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3511, allocations: 407.1 kB / 460 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.3523, allocations: 335.5 kB / 460.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.3578, allocations: 4.826 MB / 465.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.359, allocations: 95.84 kB / 465.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.3591, allocations: 52 kB / 465.3 MB, free: 13.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00128/0.3604, allocations: 0.7159 MB / 466.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.3607, allocations: 170.9 kB / 466.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.3644, allocations: 2.129 MB / 468.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3644, allocations: 8 kB / 468.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3644, allocations: 4 kB / 468.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.3644, allocations: 7.969 kB / 468.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007541/0.3719, allocations: 4.292 MB / 472.7 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.372, allocations: 0 / 472.7 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009795/0.3729, allocations: 223.7 kB / 472.9 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.3742, allocations: 471.2 kB / 473.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.862e-05/0.3743, allocations: 27.98 kB / 473.4 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006742/0.381, allocations: 6.351 MB / 479.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.381, allocations: 4.062 kB / 479.7 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/0.3861, allocations: 3.177 MB / 482.9 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009285/0.387, allocations: 334.8 kB / 483.2 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.3872, allocations: 27.98 kB / 483.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000814/0.388, allocations: 75.91 kB / 483.3 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/0.3883, allocations: 112.7 kB / 483.4 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/0.3884, allocations: 32 kB / 483.5 MB, free: 11.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.39, allocations: 1.044 MB / 484.5 MB, free: 9.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.39, allocations: 4 kB / 484.5 MB, free: 9.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001455/0.3914, allocations: 467.9 kB / 485 MB, free: 9.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005451/0.3969, allocations: 3.815 MB / 488.8 MB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00361/0.4005, allocations: 2.041 MB / 490.8 MB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4005, allocations: 0 / 490.8 MB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.4028, allocations: 1.374 MB / 492.2 MB, free: 2.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.4049, allocations: 441 kB / 492.6 MB, free: 1.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/0.4336, allocations: 17.44 MB / 0.4981 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.435, allocations: 1.257 MB / 0.4993 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.4362, allocations: 397.5 kB / 0.4997 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.4373, allocations: 0.7922 MB / 0.5005 GB, free: 13.21 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4373, allocations: 0 / 0.5005 GB, free: 13.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09327/0.5305, allocations: 46.39 MB / 0.5458 GB, free: 14.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.15/21.68, allocations: 11.86 kB / 0.5458 GB, free: 14.67 MB / 478.1 MB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 27.868111764080822]