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.001315/0.001315, allocations: 107.6 kB / 21.18 MB, free: 452 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.001502/0.001502, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.353/1.353, allocations: 207.7 MB / 235.3 MB, free: 9.793 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="me",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="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.001753/0.001753, allocations: 51.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2643, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.009156/0.2734, allocations: 8.288 MB / 404.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005517/0.2789, allocations: 2.861 MB / 407.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.281, allocations: 52.38 kB / 407.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.283, allocations: 0.6297 MB / 408.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0027/0.2857, allocations: 0.8163 MB / 409 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.2865, allocations: 361.9 kB / 409.4 MB, free: 348 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003723/0.2903, allocations: 2.683 MB / 412 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.2919, allocations: 1.066 MB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.294, allocations: 1.222 MB / 414.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.2967, allocations: 1.462 MB / 415.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004804/0.2972, allocations: 311.4 kB / 416.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009314/0.2981, allocations: 396.7 kB / 416.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009866/0.2991, allocations: 0.8962 MB / 417.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.3005, allocations: 1.139 MB / 418.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004508/0.305, allocations: 4.124 MB / 422.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.305, allocations: 0 / 422.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.305, allocations: 0 / 422.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.858e-05/0.3051, allocations: 0 / 422.6 MB, free: 8.215 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.006318/0.3114, allocations: 2.843 MB / 425.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.3115, allocations: 15.98 kB / 425.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004166/0.3119, allocations: 291.5 kB / 425.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007949/0.3127, allocations: 303.2 kB / 426.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.3156, allocations: 1.386 MB / 427.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.3158, allocations: 160.4 kB / 427.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/0.3161, allocations: 207.9 kB / 427.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/0.3208, allocations: 2.832 MB / 430.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/0.3209, allocations: 4 kB / 430.7 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.3211, allocations: 80 kB / 430.7 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.3212, allocations: 99.81 kB / 430.8 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004113/0.3253, allocations: 2.326 MB / 433.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/0.3391, allocations: 7.545 MB / 440.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.3412, allocations: 1.244 MB / 441.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.3431, allocations: 1.012 MB / 443 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.3434, allocations: 44.97 kB / 443 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.3434, allocations: 47.56 kB / 443.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.246e-06/0.3434, allocations: 0 / 443.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01387/0.3573, allocations: 5.959 MB / 449 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.3573, allocations: 68.34 kB / 449.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.3598, allocations: 1.532 MB / 450.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3599, allocations: 49.7 kB / 450.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/0.3608, allocations: 1.005 MB / 451.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/0.3612, allocations: 440.3 kB / 452.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.3616, allocations: 251.5 kB / 452.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3618, allocations: 357.9 kB / 452.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.363, allocations: 0.73 MB / 453.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.3645, allocations: 1.063 MB / 454.5 MB, free: 8.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.3672, allocations: 1.871 MB / 456.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.3673, allocations: 7.938 kB / 456.4 MB, free: 6.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004104/0.3714, allocations: 2.35 MB / 458.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.3714, allocations: 8 kB / 458.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.3714, allocations: 12 kB / 458.7 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009825/0.3724, allocations: 411.3 kB / 459.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.3736, allocations: 327.5 kB / 459.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005508/0.3791, allocations: 4.822 MB / 464.3 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3804, allocations: 99.86 kB / 464.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.3805, allocations: 51.98 kB / 464.4 MB, free: 13.85 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.001303/0.3818, allocations: 0.7082 MB / 465.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.3821, allocations: 167 kB / 465.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/0.3861, allocations: 2.129 MB / 467.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.3861, allocations: 12 kB / 467.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.3861, allocations: 4 kB / 467.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.3861, allocations: 15.91 kB / 467.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008393/0.3945, allocations: 4.28 MB / 471.7 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3945, allocations: 0 / 471.7 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009703/0.3955, allocations: 227.9 kB / 472 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.3967, allocations: 478.9 kB / 472.4 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.705e-05/0.3968, allocations: 27.98 kB / 472.4 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007126/0.404, allocations: 6.348 MB / 478.8 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.404, allocations: 7.969 kB / 478.8 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005324/0.4093, allocations: 3.177 MB / 482 MB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.4104, allocations: 326.8 kB / 482.3 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.4106, allocations: 31.98 kB / 482.3 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008929/0.4115, allocations: 71.92 kB / 482.4 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/0.4118, allocations: 120.7 kB / 482.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/0.4119, allocations: 35.98 kB / 482.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001828/0.4137, allocations: 1.048 MB / 483.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4137, allocations: 0 / 483.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001609/0.4153, allocations: 459.9 kB / 484.1 MB, free: 9.668 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.005692/0.421, allocations: 3.823 MB / 487.9 MB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003667/0.4247, allocations: 2.042 MB / 489.9 MB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4247, allocations: 4.125 kB / 489.9 MB, free: 3.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.427, allocations: 1.365 MB / 491.3 MB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.4292, allocations: 440.9 kB / 491.7 MB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02785/0.457, allocations: 17.43 MB / 0.4972 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.4586, allocations: 1.249 MB / 0.4984 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001149/0.4597, allocations: 393.5 kB / 0.4988 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.4608, allocations: 0.7999 MB / 0.4996 GB, free: 13.37 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4608, allocations: 0 / 0.4996 GB, free: 13.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09869/0.5595, allocations: 46.44 MB / 0.5449 GB, free: 14.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.82, allocations: 3.938 kB / 0.5449 GB, free: 14.78 MB / 478.1 MB " [Timeout remaining time 647] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.061998372897506]