Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.0008574/0.0008574, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004092/0.004092, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8717/0.8717, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 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_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.141e-05, allocations: 6.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.1491/0.1491, allocations: 7.864 MB / 306.3 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005724/0.1548, allocations: 2.753 MB / 309.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.156, allocations: 46.75 kB / 309.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.1573, allocations: 0.5971 MB / 309.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.1594, allocations: 0.7912 MB / 310.5 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.1601, allocations: 336.8 kB / 310.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00266/0.1627, allocations: 2.483 MB / 313.3 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.1639, allocations: 0.9555 MB / 314.3 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.1662, allocations: 1.579 MB / 315.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.1682, allocations: 1.172 MB / 317 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004861/0.1686, allocations: 279.8 kB / 317.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008062/0.1695, allocations: 372.2 kB / 317.7 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006533/0.1701, allocations: 0.8334 MB / 318.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.1711, allocations: 0.8693 MB / 319.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.1744, allocations: 3.731 MB / 323.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1744, allocations: 1.031 kB / 323.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1744, allocations: 0 / 323.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.59e-05/0.1745, allocations: 0 / 323.1 MB, free: 2.703 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004809/0.1793, allocations: 2.533 MB / 325.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.753e-05/0.1794, allocations: 13.89 kB / 325.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003029/0.1797, allocations: 265.6 kB / 325.9 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006875/0.1804, allocations: 268.5 kB / 326.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.1822, allocations: 1.255 MB / 327.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.066e-05/0.1823, allocations: 133.6 kB / 327.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.1826, allocations: 185.9 kB / 327.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.1856, allocations: 2.507 MB / 330.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.1857, allocations: 11.14 kB / 330.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.1858, allocations: 75.5 kB / 330.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.095e-05/0.1859, allocations: 92.2 kB / 330.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.1886, allocations: 2.011 MB / 332.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008299/0.1969, allocations: 6.669 MB / 339.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.1981, allocations: 0.9833 MB / 340.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009914/0.1991, allocations: 0.8655 MB / 340.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.1992, allocations: 44.97 kB / 341 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1992, allocations: 39.56 kB / 341 MB, free: 3.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 3.126e-06/0.1992, allocations: 0 / 341 MB, free: 3.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.006486/0.2057, allocations: 4.731 MB / 345.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.2058, allocations: 68.41 kB / 345.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.2075, allocations: 1.392 MB / 347.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-05/0.2076, allocations: 41.7 kB / 347.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.208, allocations: 0.9186 MB / 348.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.2082, allocations: 366.1 kB / 348.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.2085, allocations: 214.9 kB / 348.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2086, allocations: 349.9 kB / 349.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/0.2093, allocations: 0.635 MB / 349.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007902/0.2101, allocations: 0.922 MB / 350.6 MB, free: 9.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.2116, allocations: 1.649 MB / 352.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.2116, allocations: 4 kB / 352.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00289/0.2145, allocations: 2.373 MB / 354.7 MB, free: 5.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.2145, allocations: 11.98 kB / 354.7 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.2146, allocations: 12 kB / 354.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.2158, allocations: 0.708 MB / 355.4 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.2163, allocations: 235.7 kB / 355.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007778/0.2241, allocations: 8.444 MB / 364.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.2252, allocations: 91.95 kB / 364.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.2253, allocations: 55.91 kB / 364.2 MB, free: 12.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001202/0.2265, allocations: 0.6262 MB / 364.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.2267, allocations: 151.1 kB / 365 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.2289, allocations: 1.886 MB / 366.9 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.229, allocations: 8 kB / 366.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.229, allocations: 4 kB / 366.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.229, allocations: 3.984 kB / 366.9 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/0.2336, allocations: 3.746 MB / 370.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2336, allocations: 0 / 370.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.2342, allocations: 179.8 kB / 370.8 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007185/0.2349, allocations: 470.9 kB / 371.3 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.235, allocations: 27.98 kB / 371.3 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004368/0.2394, allocations: 6.341 MB / 377.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2394, allocations: 4.031 kB / 377.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.2426, allocations: 2.761 MB / 380.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/0.2433, allocations: 286.9 kB / 380.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.2434, allocations: 28.06 kB / 380.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.2439, allocations: 87.78 kB / 380.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.244, allocations: 80.84 kB / 380.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.2441, allocations: 27.98 kB / 380.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001134/0.2452, allocations: 0.9543 MB / 381.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2452, allocations: 0 / 381.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001388/0.2466, allocations: 435.9 kB / 382.3 MB, free: 9.457 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * 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 (84): * Single equations (assignments): 80 * 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.003413/0.25, allocations: 3.393 MB / 385.7 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002525/0.2525, allocations: 1.942 MB / 387.6 MB, free: 4.031 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.2526, allocations: 4.062 kB / 387.6 MB, free: 4.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.2539, allocations: 1.225 MB / 388.8 MB, free: 2.762 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.2553, allocations: 386.2 kB / 389.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/0.276, allocations: 16.3 MB / 405.5 MB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.2772, allocations: 1.11 MB / 406.6 MB, free: 480 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007497/0.2779, allocations: 316 kB / 406.9 MB, free: 160 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000798/0.2787, allocations: 0.6996 MB / 407.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2787, allocations: 0 / 407.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06198/0.3407, allocations: 42.86 MB / 450.5 MB, free: 4.465 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.376, allocations: 11.77 kB / 450.5 MB, free: 4.453 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,aimc.is[1],aimc.is[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc.idq_sr[1],aimc.idq_sr[2],loadInertia.phi,loadInertia.w Variables in the result:time,aimc.i_0_s,aimc.idq_rr[1],aimc.idq_rr[2],aimc.idq_sr[1],aimc.idq_sr[2] [Calling sys.exit(0), Time elapsed: 10.58638162445277]