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.0008078/0.0008078, allocations: 87.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.004149/0.004149, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.8671/0.8671, 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.823e-06/1.823e-06, allocations: 0 / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.863e-05, allocations: 2.281 kB / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.1626/0.1626, allocations: 7.872 MB / 306.3 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005944/0.1685, allocations: 2.75 MB / 309.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.17, allocations: 46.62 kB / 309.1 MB, free: 9.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.1716, allocations: 0.5972 MB / 309.7 MB, free: 9.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.1747, allocations: 0.7955 MB / 310.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009294/0.1757, allocations: 327.5 kB / 310.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003373/0.1791, allocations: 2.484 MB / 313.3 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.1805, allocations: 0.9614 MB / 314.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.1831, allocations: 1.577 MB / 315.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.1854, allocations: 1.177 MB / 317 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008219/0.1862, allocations: 279.8 kB / 317.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.1872, allocations: 369 kB / 317.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007971/0.188, allocations: 0.8331 MB / 318.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.1899, allocations: 0.8696 MB / 319.4 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.194, allocations: 3.73 MB / 323.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1941, allocations: 0 / 323.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1941, allocations: 0 / 323.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001432/0.1942, 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.006056/0.2003, allocations: 2.533 MB / 325.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.2003, allocations: 13.39 kB / 325.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003405/0.2007, allocations: 270.2 kB / 325.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000658/0.2013, allocations: 272.8 kB / 326.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.2036, allocations: 1.246 MB / 327.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.2037, allocations: 139.2 kB / 327.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.204, allocations: 191.6 kB / 327.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.2077, allocations: 2.499 MB / 330.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/0.2077, allocations: 15.45 kB / 330.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.2078, allocations: 74.14 kB / 330.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-05/0.2079, allocations: 89.28 kB / 330.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/0.2108, allocations: 2.012 MB / 332.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009093/0.2199, allocations: 6.669 MB / 339.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.2211, allocations: 0.9827 MB / 340.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.2221, allocations: 0.8655 MB / 340.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.2223, allocations: 44.97 kB / 341 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2223, allocations: 43.5 kB / 341 MB, free: 3.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 2.996e-06/0.2223, allocations: 0 / 341 MB, free: 3.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.006724/0.229, allocations: 4.735 MB / 345.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2291, allocations: 64.41 kB / 345.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.2307, allocations: 1.393 MB / 347.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.545e-05/0.2308, allocations: 41.7 kB / 347.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.2313, allocations: 0.9148 MB / 348.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.2316, allocations: 364.9 kB / 348.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.2318, allocations: 214.9 kB / 348.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2319, allocations: 353.9 kB / 349.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.2326, allocations: 0.6272 MB / 349.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/0.2334, allocations: 0.9259 MB / 350.6 MB, free: 9.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.235, allocations: 1.645 MB / 352.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.235, allocations: 4 kB / 352.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002932/0.238, allocations: 2.38 MB / 354.7 MB, free: 5.824 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.238, allocations: 8 kB / 354.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.238, allocations: 12 kB / 354.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.2393, allocations: 0.7081 MB / 355.4 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.2398, allocations: 235.7 kB / 355.6 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008108/0.2479, allocations: 8.452 MB / 364.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.249, allocations: 91.95 kB / 364.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.2491, allocations: 44 kB / 364.2 MB, free: 12.04 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.001064/0.2501, allocations: 0.6339 MB / 364.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.2504, allocations: 151.1 kB / 365 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.2526, allocations: 1.878 MB / 366.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.2527, allocations: 12 kB / 366.9 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2527, allocations: 4 kB / 366.9 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.2527, allocations: 7.969 kB / 366.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.2581, allocations: 3.743 MB / 370.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.2581, allocations: 0 / 370.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.2586, allocations: 183.7 kB / 370.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007954/0.2594, allocations: 467 kB / 371.3 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.542e-05/0.2595, allocations: 27.98 kB / 371.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004818/0.2643, allocations: 6.341 MB / 377.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2643, allocations: 4.031 kB / 377.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004398/0.2687, allocations: 2.764 MB / 380.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.27, allocations: 291 kB / 380.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.2703, allocations: 32.05 kB / 380.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.2708, allocations: 75.92 kB / 380.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.271, allocations: 84.77 kB / 380.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/0.271, allocations: 28 kB / 380.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001561/0.2726, allocations: 0.9543 MB / 381.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2726, allocations: 0 / 381.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001841/0.2744, allocations: 439.9 kB / 382.3 MB, free: 9.438 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.003865/0.2783, allocations: 3.389 MB / 385.7 MB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.2809, allocations: 1.942 MB / 387.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.2809, allocations: 0 / 387.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.2822, allocations: 1.229 MB / 388.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.2838, allocations: 386.9 kB / 389.2 MB, free: 2.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/0.308, allocations: 16.29 MB / 405.5 MB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.3091, allocations: 1.118 MB / 406.6 MB, free: 464 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009279/0.3101, allocations: 316 kB / 406.9 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000783/0.3109, allocations: 0.6996 MB / 407.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3109, allocations: 3.938 kB / 407.7 MB, free: 15.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07026/0.3811, allocations: 42.86 MB / 450.5 MB, free: 4.457 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.729, allocations: 19.81 kB / 450.5 MB, free: 4.438 MB / 410.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.577523459680378]