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.001264/0.001264, 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.001344/0.001344, allocations: 215 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.33/1.33, allocations: 207.7 MB / 235.3 MB, free: 9.797 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_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: 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.001721/0.001721, allocations: 58.58 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2309, allocations: 49.15 MB / 396.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.00786/0.2388, allocations: 7.855 MB / 404.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004712/0.2435, allocations: 2.762 MB / 407 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.2449, allocations: 45.91 kB / 407 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.2469, allocations: 0.5975 MB / 407.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.2496, allocations: 0.7754 MB / 408.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2506, allocations: 329.3 kB / 408.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.2538, allocations: 2.393 MB / 411.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.2559, allocations: 0.9458 MB / 412.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.2582, allocations: 1.091 MB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/0.2611, allocations: 1.303 MB / 414.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008643/0.262, allocations: 279.8 kB / 414.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.2636, allocations: 375.1 kB / 415.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.2648, allocations: 0.8083 MB / 415.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.2665, allocations: 1.02 MB / 416.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004043/0.2705, allocations: 3.713 MB / 420.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2705, allocations: 0 / 420.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2705, allocations: 5.594 kB / 420.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.669e-05/0.2706, allocations: 0 / 420.6 MB, free: 9.57 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00539/0.276, allocations: 2.558 MB / 423.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.276, allocations: 13.7 kB / 423.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000352/0.2764, allocations: 262.8 kB / 423.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006804/0.2771, allocations: 268.7 kB / 423.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.2796, allocations: 1.249 MB / 425 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2797, allocations: 135.9 kB / 425.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.28, allocations: 191.9 kB / 425.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00395/0.284, allocations: 2.51 MB / 427.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.284, allocations: 11.83 kB / 427.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.2842, allocations: 72 kB / 427.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.2843, allocations: 87.48 kB / 428 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.2877, allocations: 2.009 MB / 430 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.2996, allocations: 6.676 MB / 436.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3015, allocations: 0.9874 MB / 437.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.3032, allocations: 0.8573 MB / 438.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.3034, allocations: 40.97 kB / 438.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3034, allocations: 47.5 kB / 438.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.076e-06/0.3034, allocations: 0 / 438.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.009883/0.3133, allocations: 4.723 MB / 443.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.3134, allocations: 68.41 kB / 443.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.3154, allocations: 1.392 MB / 444.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.222e-05/0.3154, allocations: 41.7 kB / 444.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007291/0.3162, allocations: 0.9149 MB / 445.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.3165, allocations: 372.9 kB / 446.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.3168, allocations: 218.8 kB / 446.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.317, allocations: 357.9 kB / 446.7 MB, free: 280 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009983/0.318, allocations: 0.6311 MB / 447.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.3192, allocations: 0.922 MB / 448.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.3215, allocations: 1.641 MB / 449.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.3215, allocations: 4 kB / 449.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004171/0.3257, allocations: 2.383 MB / 452.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.3257, allocations: 8 kB / 452.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.3258, allocations: 8 kB / 452.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.3275, allocations: 0.7197 MB / 453 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/0.3284, allocations: 235.6 kB / 453.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.3396, allocations: 8.452 MB / 461.7 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.3409, allocations: 83.91 kB / 461.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.341, allocations: 44.12 kB / 461.8 MB, free: 0.6523 MB / 366.1 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.001128/0.3421, allocations: 0.634 MB / 462.4 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.3424, allocations: 151.4 kB / 462.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.3458, allocations: 1.889 MB / 464.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.3458, allocations: 16 kB / 464.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3458, allocations: 4 kB / 464.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.3458, allocations: 3.984 kB / 464.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006918/0.3527, allocations: 3.738 MB / 468.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.3527, allocations: 4 kB / 468.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007885/0.3535, allocations: 187.7 kB / 468.4 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.3547, allocations: 459.2 kB / 468.8 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.3548, allocations: 39.91 kB / 468.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006745/0.3616, allocations: 6.335 MB / 475.2 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.3616, allocations: 11.95 kB / 475.2 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004563/0.3661, allocations: 2.768 MB / 478 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.3671, allocations: 290.9 kB / 478.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.3673, allocations: 20 kB / 478.3 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/0.3681, allocations: 71.91 kB / 478.4 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.3683, allocations: 80.84 kB / 478.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/0.3684, allocations: 35.92 kB / 478.5 MB, free: 15.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001461/0.3698, allocations: 0.9543 MB / 479.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3698, allocations: 0 / 479.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001376/0.3712, allocations: 432 kB / 479.9 MB, free: 14.04 MB / 398.1 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.004795/0.376, allocations: 3.4 MB / 483.3 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003332/0.3793, allocations: 1.941 MB / 485.2 MB, free: 8.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.3793, allocations: 4 kB / 485.2 MB, free: 8.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.3813, allocations: 1.219 MB / 486.4 MB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.3831, allocations: 396.9 kB / 486.8 MB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02493/0.408, allocations: 16.34 MB / 0.4914 GB, free: 6.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.4094, allocations: 1.114 MB / 0.4924 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009447/0.4103, allocations: 316 kB / 0.4927 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/0.4113, allocations: 0.7023 MB / 0.4934 GB, free: 3.969 MB / 414.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4113, allocations: 0 / 0.4934 GB, free: 3.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09471/0.506, allocations: 42.86 MB / 0.5353 GB, free: 8.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.65, allocations: 7.938 kB / 0.5353 GB, free: 8.973 MB / 462.1 MB " [Timeout remaining time 647] (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/jenkins1/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/jenkins1/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: 16.759589867666364]