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.00188/0.00188, allocations: 107.6 kB / 21.18 MB, free: 0.5781 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.002199/0.002199, allocations: 213.3 kB / 24.47 MB, free: 3.871 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.461/1.461, allocations: 207.7 MB / 235.3 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="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.001981/0.001981, allocations: 62.88 kB / 347.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2478, allocations: 49.15 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008577/0.2564, allocations: 8.285 MB / 404.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004671/0.2611, allocations: 2.856 MB / 407.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.2618, allocations: 52.62 kB / 407.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.2631, allocations: 0.633 MB / 408.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.2648, allocations: 0.8177 MB / 409 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.2654, allocations: 358.1 kB / 409.4 MB, free: 336 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002951/0.2684, allocations: 2.682 MB / 412 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.2699, allocations: 1.059 MB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.2716, allocations: 1.225 MB / 414.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.2739, allocations: 1.462 MB / 415.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004624/0.2743, allocations: 311.4 kB / 416.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008555/0.2752, allocations: 401.2 kB / 416.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009361/0.2761, allocations: 0.8955 MB / 417.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.2775, allocations: 1.14 MB / 418.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.2819, allocations: 4.121 MB / 422.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2819, allocations: 1.469 kB / 422.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2819, allocations: 0 / 422.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.816e-05/0.2819, allocations: 0 / 422.6 MB, free: 8.211 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.005802/0.2877, allocations: 2.841 MB / 425.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.2878, allocations: 11.98 kB / 425.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003866/0.2882, allocations: 299.5 kB / 425.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/0.2889, allocations: 299.2 kB / 426.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.2915, allocations: 1.39 MB / 427.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.2916, allocations: 148.4 kB / 427.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/0.2919, allocations: 211.9 kB / 427.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.2964, allocations: 2.832 MB / 430.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.268e-05/0.2964, allocations: 4 kB / 430.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.2966, allocations: 80 kB / 430.7 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.2968, allocations: 103.9 kB / 430.8 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003866/0.3006, allocations: 2.318 MB / 433.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.3131, allocations: 7.553 MB / 440.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.315, allocations: 1.244 MB / 441.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/0.3169, allocations: 1.008 MB / 443 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.3171, allocations: 52.95 kB / 443 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3171, allocations: 43.56 kB / 443 MB, free: 3.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.386e-06/0.3172, allocations: 0 / 443 MB, free: 3.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01323/0.3304, allocations: 5.955 MB / 449 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3304, allocations: 76.33 kB / 449.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.3328, allocations: 1.532 MB / 450.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.693e-05/0.3329, allocations: 45.7 kB / 450.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008481/0.3337, allocations: 1.005 MB / 451.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.3341, allocations: 436.3 kB / 452.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004255/0.3345, allocations: 255.5 kB / 452.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3347, allocations: 357.9 kB / 452.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.3359, allocations: 0.7339 MB / 453.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.3374, allocations: 1.063 MB / 454.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.3402, allocations: 1.871 MB / 456.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3402, allocations: 0 / 456.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004351/0.3445, allocations: 2.354 MB / 458.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.3446, allocations: 11.94 kB / 458.7 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.3446, allocations: 11.94 kB / 458.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009837/0.3456, allocations: 411.1 kB / 459.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.3468, allocations: 323.7 kB / 459.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.3524, allocations: 4.829 MB / 464.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.3539, allocations: 99.86 kB / 464.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.354, allocations: 52 kB / 464.4 MB, free: 13.87 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.001463/0.3555, allocations: 0.6965 MB / 465.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004676/0.356, allocations: 167 kB / 465.3 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/0.3601, allocations: 2.141 MB / 467.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3601, allocations: 12 kB / 467.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3601, allocations: 7.938 kB / 467.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.3601, allocations: 3.984 kB / 467.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008754/0.3689, allocations: 4.284 MB / 471.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.3689, allocations: 4 kB / 471.7 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009976/0.3699, allocations: 223.7 kB / 472 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.3711, allocations: 471.1 kB / 472.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-05/0.3712, allocations: 39.97 kB / 472.5 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007003/0.3782, allocations: 6.34 MB / 478.8 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3782, allocations: 3.938 kB / 478.8 MB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005205/0.3834, allocations: 3.181 MB / 482 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009855/0.3844, allocations: 330.8 kB / 482.3 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.3846, allocations: 28 kB / 482.3 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008144/0.3854, allocations: 75.91 kB / 482.4 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/0.3857, allocations: 112.7 kB / 482.5 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/0.3857, allocations: 39.98 kB / 482.6 MB, free: 11.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001644/0.3874, allocations: 1.048 MB / 483.6 MB, free: 10.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3874, allocations: 0 / 483.6 MB, free: 10.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001592/0.389, allocations: 463.9 kB / 484.1 MB, free: 9.691 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.005621/0.3946, allocations: 3.815 MB / 487.9 MB, free: 5.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.3983, allocations: 2.042 MB / 489.9 MB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3983, allocations: 192 / 489.9 MB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.4007, allocations: 1.369 MB / 491.3 MB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.4029, allocations: 449.1 kB / 491.7 MB, free: 1.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0287/0.4316, allocations: 17.43 MB / 0.4972 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.4332, allocations: 1.253 MB / 0.4984 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001227/0.4344, allocations: 393.5 kB / 0.4988 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.4355, allocations: 0.7922 MB / 0.4996 GB, free: 13.39 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4355, allocations: 7.875 kB / 0.4996 GB, free: 13.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/0.5659, allocations: 46.43 MB / 0.5449 GB, free: 14.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.56, allocations: 15.91 kB / 0.545 GB, free: 14.8 MB / 478.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable loadInertia.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.659969774074852]