Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 47.92 kB / 371.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2704, allocations: 52.18 MB / 423.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01224/0.2826, allocations: 9.804 MB / 433.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006789/0.2894, allocations: 3.042 MB / 436.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.2912, allocations: 59.62 kB / 436.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.2931, allocations: 0.66 MB / 437.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.2959, allocations: 0.7882 MB / 438.2 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009649/0.2968, allocations: 379.4 kB / 438.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003159/0.3, allocations: 2.428 MB / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.3015, allocations: 1.041 MB / 442.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.3032, allocations: 1.106 MB / 443.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.3055, allocations: 1.343 MB / 444.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004992/0.306, allocations: 280 kB / 444.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009765/0.3069, allocations: 375.8 kB / 445.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008356/0.3078, allocations: 0.7907 MB / 446 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.3092, allocations: 1.268 MB / 447.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.3134, allocations: 3.656 MB / 450.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3134, allocations: 0 / 450.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3134, allocations: 0 / 450.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.592e-05/0.3135, allocations: 4 kB / 450.9 MB, free: 3.504 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005309/0.3188, allocations: 2.564 MB / 453.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3188, allocations: 12.03 kB / 453.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007081/0.3195, allocations: 271.4 kB / 453.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.3221, allocations: 1.286 MB / 455 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.3222, allocations: 140.2 kB / 455.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.3225, allocations: 200.1 kB / 455.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/0.3267, allocations: 2.415 MB / 457.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.108e-05/0.3268, allocations: 11.95 kB / 457.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.327, allocations: 76 kB / 457.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.3271, allocations: 87.67 kB / 457.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.3307, allocations: 1.959 MB / 459.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.344, allocations: 7.633 MB / 467.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.3457, allocations: 1.002 MB / 468.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.3476, allocations: 0.9211 MB / 469.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.3478, allocations: 44.97 kB / 469.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3479, allocations: 43.5 kB / 469.5 MB, free: 484 kB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 4.939e-06/0.3479, allocations: 3.984 kB / 469.5 MB, free: 480 kB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01353/0.3614, allocations: 5.519 MB / 475.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3615, allocations: 64.41 kB / 475.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.3637, allocations: 1.302 MB / 476.4 MB, free: 9.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.3638, allocations: 45.7 kB / 476.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008022/0.3646, allocations: 0.938 MB / 477.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.365, allocations: 416.5 kB / 477.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004575/0.3655, allocations: 251.5 kB / 478.1 MB, free: 7.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.3656, allocations: 357.9 kB / 478.4 MB, free: 7.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.3668, allocations: 0.6402 MB / 479.1 MB, free: 6.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.3683, allocations: 0.9964 MB / 480.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.3709, allocations: 1.735 MB / 481.8 MB, free: 3.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3709, allocations: 3.984 kB / 481.8 MB, free: 3.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00453/0.3755, allocations: 2.246 MB / 484 MB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.3755, allocations: 12 kB / 484 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.3755, allocations: 8 kB / 484.1 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.3769, allocations: 496.2 kB / 484.5 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.3781, allocations: 307.5 kB / 484.8 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008452/0.3866, allocations: 6.814 MB / 491.7 MB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.3879, allocations: 83.91 kB / 491.7 MB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.388, allocations: 56 kB / 491.8 MB, free: 9.457 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001185/0.3892, allocations: 0.6143 MB / 492.4 MB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.3895, allocations: 155.2 kB / 492.6 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003729/0.3933, allocations: 1.949 MB / 494.5 MB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.3933, allocations: 19.88 kB / 494.5 MB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.548e-05/0.3934, allocations: 8 kB / 494.5 MB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.3934, allocations: 7.984 kB / 494.5 MB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00767/0.401, allocations: 4.073 MB / 498.6 MB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.401, allocations: 0 / 498.6 MB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/0.4019, allocations: 183.8 kB / 498.8 MB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.4035, allocations: 0.5351 MB / 499.3 MB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.702e-05/0.4036, allocations: 35.92 kB / 499.4 MB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009537/0.4131, allocations: 8.346 MB / 0.4958 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4131, allocations: 11.91 kB / 0.4958 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004949/0.418, allocations: 2.84 MB / 0.4986 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009331/0.419, allocations: 282.9 kB / 0.4989 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.4192, allocations: 27.98 kB / 0.4989 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007573/0.4199, allocations: 71.92 kB / 0.499 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.4202, allocations: 88.77 kB / 0.499 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/0.4203, allocations: 31.98 kB / 0.4991 GB, free: 5.531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.4216, allocations: 0.8878 MB / 0.4999 GB, free: 4.641 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4216, allocations: 96 / 0.4999 GB, free: 4.641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001523/0.4231, allocations: 447.9 kB / 0.5004 GB, free: 4.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003693/0.4235, allocations: 184 kB / 0.5005 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.4271, allocations: 2 MB / 0.5025 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4271, allocations: 8.047 kB / 0.5025 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.4295, allocations: 1.384 MB / 0.5039 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.4314, allocations: 424.8 kB / 0.5043 GB, free: 120 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007297/0.4387, allocations: 4.237 MB / 0.5084 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.4403, allocations: 1.626 MB / 0.51 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.4407, allocations: 107.4 kB / 0.5101 GB, free: 10.04 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4407, allocations: 0 / 0.5101 GB, free: 10.04 MB / 430.1 MB Notification: Performance of Templates: time 0.2714/0.7122, allocations: 71.02 MB / 0.5794 GB, free: 73.38 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 13.108543679118156]