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.004958/0.004958, allocations: 111.4 kB / 21.97 MB, free: 5.25 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.001372/0.001372, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.31/1.31, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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.001671/0.001671, allocations: 55.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2409, allocations: 49.16 MB / 397.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008318/0.2493, allocations: 9.437 MB / 406.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.2544, allocations: 3.045 MB / 409.6 MB, free: 100 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.2554, allocations: 48.47 kB / 409.7 MB, free: 80 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.257, allocations: 0.6804 MB / 410.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.2594, allocations: 0.8196 MB / 411.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.2601, allocations: 360.3 kB / 411.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003082/0.2632, allocations: 2.688 MB / 414.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.2647, allocations: 1.101 MB / 415.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.2665, allocations: 1.217 MB / 416.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.2685, allocations: 1.532 MB / 418.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.2688, allocations: 308.8 kB / 418.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.2695, allocations: 407.3 kB / 418.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008894/0.2704, allocations: 0.8973 MB / 419.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.272, allocations: 1.403 MB / 421.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004495/0.2765, allocations: 4.103 MB / 425.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2765, allocations: 0.7188 kB / 425.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2765, allocations: 0 / 425.2 MB, free: 6.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.227e-05/0.2766, allocations: 1.094 kB / 425.2 MB, free: 6.488 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.00589/0.2825, allocations: 2.846 MB / 428 MB, free: 4.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2825, allocations: 15.98 kB / 428 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.37e-05/0.2826, allocations: 56.22 kB / 428.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003902/0.283, allocations: 299.5 kB / 428.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/0.2837, allocations: 299.2 kB / 428.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.2864, allocations: 1.382 MB / 430.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.2865, allocations: 156.2 kB / 430.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.2868, allocations: 211.8 kB / 430.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004415/0.2912, allocations: 2.728 MB / 433.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.309e-05/0.2913, allocations: 8 kB / 433.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.2915, allocations: 87.91 kB / 433.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.2916, allocations: 91.92 kB / 433.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/0.2955, allocations: 2.322 MB / 435.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.3088, allocations: 8.208 MB / 443.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.3107, allocations: 1.245 MB / 445.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.3126, allocations: 1.012 MB / 446.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.3127, allocations: 44.95 kB / 446.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.3128, allocations: 43.56 kB / 446.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.936e-06/0.3128, allocations: 0 / 446.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01354/0.3263, allocations: 5.959 MB / 452.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3264, allocations: 64.41 kB / 452.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.329, allocations: 1.516 MB / 453.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.3291, allocations: 45.7 kB / 453.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008498/0.3299, allocations: 1.005 MB / 454.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.3303, allocations: 440.3 kB / 455.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.3308, allocations: 251.5 kB / 455.5 MB, free: 8.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.331, allocations: 361.9 kB / 455.8 MB, free: 8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.3322, allocations: 0.7339 MB / 456.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.3336, allocations: 1.052 MB / 457.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.3364, allocations: 1.875 MB / 459.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.3364, allocations: 7.938 kB / 459.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004336/0.3408, allocations: 2.35 MB / 461.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.3408, allocations: 12 kB / 461.8 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.3408, allocations: 8 kB / 461.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.3418, allocations: 407.2 kB / 462.3 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.3431, allocations: 335.4 kB / 462.6 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.3487, allocations: 4.865 MB / 467.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.35, allocations: 91.86 kB / 467.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.3501, allocations: 51.98 kB / 467.6 MB, free: 11.71 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.001343/0.3514, allocations: 0.7159 MB / 468.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/0.3518, allocations: 163 kB / 468.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/0.3557, allocations: 2.129 MB / 470.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.3557, allocations: 12 kB / 470.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.3557, allocations: 4 kB / 470.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.3557, allocations: 11.91 kB / 470.6 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008543/0.3643, allocations: 4.526 MB / 475.1 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.3643, allocations: 8.031 kB / 475.1 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.3653, allocations: 227.6 kB / 475.4 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.3666, allocations: 470.8 kB / 475.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.3667, allocations: 31.98 kB / 475.9 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007239/0.3739, allocations: 6.379 MB / 482.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3739, allocations: 7.938 kB / 482.2 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/0.3793, allocations: 3.177 MB / 485.4 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.3804, allocations: 338.7 kB / 485.8 MB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004375/0.3808, allocations: 27.98 kB / 485.8 MB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.3818, allocations: 79.91 kB / 485.9 MB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.382, allocations: 112.7 kB / 486 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-05/0.3821, allocations: 32 kB / 486 MB, free: 8.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001591/0.3837, allocations: 1.048 MB / 487.1 MB, free: 7.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3837, allocations: 0 / 487.1 MB, free: 7.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001642/0.3854, allocations: 460 kB / 487.5 MB, free: 7.246 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.006098/0.3915, allocations: 3.819 MB / 491.3 MB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003832/0.3953, allocations: 2.045 MB / 493.4 MB, free: 1.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.3953, allocations: 0 / 493.4 MB, free: 1.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002312/0.3976, allocations: 1.37 MB / 494.7 MB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.3998, allocations: 433.1 kB / 495.2 MB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/0.4283, allocations: 17.46 MB / 0.5006 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/0.4301, allocations: 1.822 MB / 0.5024 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001084/0.4312, allocations: 397.5 kB / 0.5028 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/0.4324, allocations: 0.7922 MB / 0.5035 GB, free: 10.37 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4324, allocations: 0 / 0.5035 GB, free: 10.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09286/0.5253, allocations: 44.69 MB / 0.5472 GB, free: 13.56 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.85/21.38, allocations: 19.8 kB / 0.5472 GB, free: 13.54 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.66051526699448]