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.0007731/0.0007731, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003722/0.003722, allocations: 163.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8673/0.8673, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 2.235e-06/2.235e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.442e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007146/0.007181, allocations: 7.964 MB / 333.8 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00465/0.01183, allocations: 2.789 MB / 336.6 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00091/0.01274, allocations: 59.62 kB / 336.7 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.01389, allocations: 0.5976 MB / 337.3 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.01545, allocations: 0.8073 MB / 338.1 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.01598, allocations: 335.4 kB / 338.4 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.01787, allocations: 2.461 MB / 340.8 MB, free: 344 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000905/0.01878, allocations: 0.9813 MB / 341.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.02036, allocations: 1.598 MB / 343.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.0215, allocations: 1.177 MB / 344.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.02172, allocations: 280 kB / 344.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.0222, allocations: 371.8 kB / 345.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.02269, allocations: 0.8374 MB / 346.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006635/0.02335, allocations: 0.873 MB / 347 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.02613, allocations: 3.751 MB / 350.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.02614, allocations: 0 / 350.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02614, allocations: 0 / 350.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.395e-05/0.02618, allocations: 0 / 350.7 MB, free: 6.422 MB / 314.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.003296/0.02948, allocations: 2.56 MB / 353.3 MB, free: 3.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.02952, allocations: 15.97 kB / 353.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.03011, allocations: 299.3 kB / 353.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.03188, allocations: 1.344 MB / 354.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.03195, allocations: 139.9 kB / 355.1 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.03213, allocations: 180.4 kB / 355.2 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.03479, allocations: 2.506 MB / 357.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/0.03483, allocations: 15.89 kB / 357.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.03495, allocations: 75.98 kB / 357.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/0.03502, allocations: 87.5 kB / 357.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.03723, allocations: 2.016 MB / 359.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007956/0.04519, allocations: 6.394 MB / 366.3 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.04633, allocations: 0.9837 MB / 367.3 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009615/0.04729, allocations: 0.8655 MB / 368.2 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.04743, allocations: 40.97 kB / 368.2 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.04746, allocations: 47.5 kB / 368.3 MB, free: 4.508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/0.04746, allocations: 0 / 368.3 MB, free: 4.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.006029/0.05349, allocations: 4.676 MB / 372.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.05354, allocations: 64.41 kB / 373 MB, free: 15.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.05486, allocations: 1.253 MB / 374.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.05492, allocations: 45.7 kB / 374.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004743/0.0554, allocations: 0.9336 MB / 375.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.0556, allocations: 360.9 kB / 375.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.05583, allocations: 218.9 kB / 375.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002702/0.0561, allocations: 345.9 kB / 376.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/0.05673, allocations: 0.635 MB / 376.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/0.05746, allocations: 0.9181 MB / 377.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.05894, allocations: 1.653 MB / 379.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.05895, allocations: 4 kB / 379.3 MB, free: 9.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002665/0.06161, allocations: 2.356 MB / 381.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.06164, allocations: 23.92 kB / 381.7 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.06166, allocations: 8 kB / 381.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.06275, allocations: 0.7132 MB / 382.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.06323, allocations: 227.7 kB / 382.7 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007372/0.0706, allocations: 8.394 MB / 391.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000867/0.07147, allocations: 83.8 kB / 391.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.07153, allocations: 48.16 kB / 391.2 MB, free: 13.01 MB / 362.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.0009077/0.07244, allocations: 0.6379 MB / 391.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.07262, allocations: 139.1 kB / 392 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.07459, allocations: 1.877 MB / 393.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.07459, allocations: 11.98 kB / 393.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.0746, allocations: 7.938 kB / 393.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.07461, allocations: 3.984 kB / 393.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.07889, allocations: 3.537 MB / 397.4 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.0789, allocations: 224 / 397.4 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.07931, allocations: 183.8 kB / 397.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006916/0.08, allocations: 466.9 kB / 398 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.08005, allocations: 23.98 kB / 398.1 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/0.08406, allocations: 6.259 MB / 404.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.08406, allocations: 4.031 kB / 404.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.08739, allocations: 2.764 MB / 407.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005524/0.08794, allocations: 271 kB / 407.3 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.08805, allocations: 27.98 kB / 407.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.08844, allocations: 71.92 kB / 407.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.08862, allocations: 88.72 kB / 407.5 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.08866, allocations: 27.98 kB / 407.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009178/0.08958, allocations: 0.8575 MB / 408.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.08958, allocations: 0 / 408.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001065/0.09064, allocations: 435.9 kB / 408.8 MB, free: 10.87 MB / 378.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.0003103/0.09095, allocations: 186.9 kB / 409 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.09312, allocations: 1.934 MB / 411 MB, free: 8.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.09312, allocations: 0 / 411 MB, free: 8.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.09462, allocations: 1.221 MB / 412.2 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.09569, allocations: 319 kB / 412.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.09996, allocations: 3.939 MB / 416.4 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007919/0.1008, allocations: 1.106 MB / 417.5 MB, free: 2.008 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.101, allocations: 100.5 kB / 417.6 MB, free: 1.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/0.101, allocations: 0 / 417.6 MB, free: 1.91 MB / 378.7 MB Notification: Performance of Templates: time 0.1814/0.2824, allocations: 52.96 MB / 470.6 MB, free: 105.6 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/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: 7.484860252588987]