Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001885/0.001885, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002442/0.002442, allocations: 214.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="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",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="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",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 51.88 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2418, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01088/0.2527, allocations: 7.941 MB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.2585, allocations: 2.777 MB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.2598, allocations: 51.69 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.2616, allocations: 0.5978 MB / 443.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.2642, allocations: 0.7769 MB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.2651, allocations: 335.5 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.2683, allocations: 2.381 MB / 447.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.2698, allocations: 0.9843 MB / 448.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.2716, allocations: 1.098 MB / 449.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/0.2739, allocations: 1.315 MB / 450.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006113/0.2745, allocations: 280 kB / 450.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000975/0.2755, allocations: 375.8 kB / 451.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009297/0.2765, allocations: 0.8102 MB / 452 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.2779, allocations: 1.023 MB / 453.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004585/0.2825, allocations: 3.733 MB / 456.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2825, allocations: 0 / 456.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2825, allocations: 3.938 kB / 456.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.819e-05/0.2826, allocations: 3.938 kB / 456.8 MB, free: 14.1 MB / 366.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.006398/0.289, allocations: 2.578 MB / 459.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.289, allocations: 8.031 kB / 459.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.2901, allocations: 319.3 kB / 459.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.2931, allocations: 1.341 MB / 461 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.2933, allocations: 136 kB / 461.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.2936, allocations: 195.9 kB / 461.4 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/0.2982, allocations: 2.502 MB / 463.9 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.2982, allocations: 7.938 kB / 463.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.2984, allocations: 72 kB / 464 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.2985, allocations: 87.48 kB / 464 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/0.3025, allocations: 2.009 MB / 466 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.3156, allocations: 6.398 MB / 472.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.3176, allocations: 0.9827 MB / 473.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.3194, allocations: 0.858 MB / 474.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.3196, allocations: 48.89 kB / 474.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.3197, allocations: 43.56 kB / 474.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.986e-06/0.3197, allocations: 0 / 474.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009925/0.3296, allocations: 4.684 MB / 479.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.3297, allocations: 60.41 kB / 479.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.3317, allocations: 1.253 MB / 480.4 MB, free: 6.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.3318, allocations: 45.7 kB / 480.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007564/0.3326, allocations: 0.9337 MB / 481.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.3329, allocations: 368.9 kB / 481.7 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.3333, allocations: 214.9 kB / 481.9 MB, free: 4.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3335, allocations: 353.9 kB / 482.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.3346, allocations: 0.635 MB / 482.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.3359, allocations: 0.9259 MB / 483.8 MB, free: 2.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/0.3384, allocations: 1.645 MB / 485.5 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.3384, allocations: 0 / 485.5 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004627/0.343, allocations: 2.372 MB / 487.8 MB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.3431, allocations: 8 kB / 487.9 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.3431, allocations: 12 kB / 487.9 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.345, allocations: 0.709 MB / 488.6 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/0.346, allocations: 243.6 kB / 488.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.3579, allocations: 8.394 MB / 497.2 MB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.3591, allocations: 83.86 kB / 497.3 MB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.3592, allocations: 44 kB / 497.3 MB, free: 4.66 MB / 398.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.001223/0.3604, allocations: 0.6339 MB / 498 MB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.3608, allocations: 139.1 kB / 498.1 MB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/0.3643, allocations: 1.881 MB / 500 MB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.3643, allocations: 15.94 kB / 500 MB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.3643, allocations: 8 kB / 0.4883 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.3643, allocations: 7.969 kB / 0.4883 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007275/0.3716, allocations: 3.522 MB / 0.4917 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3716, allocations: 0 / 0.4917 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/0.3724, allocations: 183.7 kB / 0.4919 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.3737, allocations: 459.2 kB / 0.4923 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.3738, allocations: 27.98 kB / 0.4924 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007223/0.3811, allocations: 6.268 MB / 0.4985 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.3811, allocations: 16.02 kB / 0.4985 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/0.3859, allocations: 2.764 MB / 0.5012 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00097/0.3868, allocations: 271 kB / 0.5015 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.3871, allocations: 24.03 kB / 0.5015 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/0.3879, allocations: 71.91 kB / 0.5016 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.3881, allocations: 84.78 kB / 0.5016 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.3882, allocations: 35.92 kB / 0.5017 GB, free: 3.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001463/0.3897, allocations: 0.8536 MB / 0.5025 GB, free: 2.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3897, allocations: 4 kB / 0.5025 GB, free: 2.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001677/0.3913, allocations: 435.9 kB / 0.5029 GB, free: 2.516 MB / 414.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.0004534/0.3918, allocations: 179 kB / 0.5031 GB, free: 2.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003814/0.3956, allocations: 1.929 MB / 0.505 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.3956, allocations: 0 / 0.505 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.3979, allocations: 1.227 MB / 0.5062 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.3997, allocations: 321.6 kB / 0.5065 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/0.4071, allocations: 4.122 MB / 0.5105 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.4085, allocations: 1.098 MB / 0.5116 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.409, allocations: 99.41 kB / 0.5117 GB, free: 9.379 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.409, allocations: 0 / 0.5117 GB, free: 9.379 MB / 430.1 MB Notification: Performance of Templates: time 0.251/0.66, allocations: 52.91 MB / 0.5633 GB, free: 85.12 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.938353884033859]