Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.0018/0.0018, allocations: 100 kB / 21.18 MB, free: 0.5195 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.002042/0.002042, allocations: 181 kB / 24.45 MB, free: 3.863 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.426/1.426, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 43.92 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2654, allocations: 52.19 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01249/0.2779, allocations: 8.53 MB / 432.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.2845, allocations: 2.921 MB / 435.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.2861, allocations: 71.5 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.2883, allocations: 0.6637 MB / 436 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.2913, allocations: 0.8038 MB / 436.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2926, allocations: 399.4 kB / 437.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003769/0.2964, allocations: 2.541 MB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/0.2987, allocations: 1.256 MB / 441 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.3008, allocations: 1.215 MB / 442.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.3037, allocations: 1.448 MB / 443.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008411/0.3045, allocations: 320 kB / 444 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.3056, allocations: 411.8 kB / 444.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3067, allocations: 0.9115 MB / 445.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.3084, allocations: 1.144 MB / 446.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005394/0.3138, allocations: 4.188 MB / 450.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3138, allocations: 4 kB / 450.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3138, allocations: 0 / 450.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001079/0.3139, allocations: 0 / 450.6 MB, free: 3.508 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.007396/0.3213, allocations: 2.897 MB / 453.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3214, allocations: 12.03 kB / 453.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008226/0.3222, allocations: 303.2 kB / 453.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/0.3255, allocations: 1.467 MB / 455.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.3257, allocations: 168.3 kB / 455.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.3261, allocations: 208 kB / 455.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005423/0.3315, allocations: 2.904 MB / 458.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/0.3316, allocations: 7.984 kB / 458.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.3318, allocations: 91.98 kB / 458.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.3319, allocations: 112.1 kB / 458.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004653/0.3365, allocations: 2.343 MB / 461.1 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/0.351, allocations: 7.358 MB / 468.5 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.3534, allocations: 1.175 MB / 469.7 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.3553, allocations: 0.9009 MB / 470.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.3555, allocations: 44.97 kB / 470.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.3555, allocations: 51.5 kB / 470.7 MB, free: 15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.306e-06/0.3555, allocations: 0 / 470.7 MB, free: 15 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01423/0.3698, allocations: 5.726 MB / 476.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.3698, allocations: 64.41 kB / 476.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.3719, allocations: 1.301 MB / 477.8 MB, free: 7.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.3721, allocations: 45.7 kB / 477.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008891/0.373, allocations: 1.066 MB / 478.9 MB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.3734, allocations: 428.3 kB / 479.3 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000441/0.3739, allocations: 259.5 kB / 479.5 MB, free: 6.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.3741, allocations: 357.9 kB / 479.9 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.3753, allocations: 0.6949 MB / 480.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.3768, allocations: 1.066 MB / 481.6 MB, free: 3.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.3797, allocations: 1.868 MB / 483.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.3797, allocations: 4 kB / 483.5 MB, free: 1.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004377/0.3841, allocations: 2.335 MB / 485.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.3841, allocations: 15.94 kB / 485.9 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.3842, allocations: 12 kB / 485.9 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.3852, allocations: 411.4 kB / 486.3 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.3865, allocations: 331.4 kB / 486.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007501/0.394, allocations: 6.619 MB / 493.2 MB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.3953, allocations: 103.8 kB / 493.3 MB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.3955, allocations: 56 kB / 493.4 MB, free: 7.535 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001212/0.3967, allocations: 0.6895 MB / 494.1 MB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.397, allocations: 159 kB / 494.2 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/0.4008, allocations: 2.03 MB / 496.3 MB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4008, allocations: 12 kB / 496.3 MB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4008, allocations: 8 kB / 496.3 MB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4008, allocations: 7.984 kB / 496.3 MB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008051/0.4089, allocations: 3.945 MB / 0.4885 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.4089, allocations: 7.984 kB / 0.4885 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009576/0.4098, allocations: 203.7 kB / 0.4887 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.4111, allocations: 459 kB / 0.4891 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.4113, allocations: 35.98 kB / 0.4892 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009307/0.4206, allocations: 8.06 MB / 0.497 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4206, allocations: 3.938 kB / 0.4971 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0059/0.4265, allocations: 3.009 MB / 0.5 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.4275, allocations: 286.9 kB / 0.5003 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.4279, allocations: 35.92 kB / 0.5003 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.429, allocations: 83.91 kB / 0.5004 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.4293, allocations: 92.77 kB / 0.5005 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-05/0.4294, allocations: 39.98 kB / 0.5005 GB, free: 3.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001788/0.4311, allocations: 0.8757 MB / 0.5014 GB, free: 2.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4311, allocations: 0 / 0.5014 GB, free: 2.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001937/0.4331, allocations: 463.9 kB / 0.5018 GB, free: 2.445 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,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.0004953/0.4336, allocations: 195 kB / 0.502 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004159/0.4377, allocations: 2.083 MB / 0.504 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4377, allocations: 4.062 kB / 0.504 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.4404, allocations: 1.391 MB / 0.5054 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.4426, allocations: 359.9 kB / 0.5057 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009156/0.4517, allocations: 4.568 MB / 0.5102 GB, free: 9.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.4534, allocations: 1.215 MB / 0.5114 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/0.454, allocations: 119.4 kB / 0.5115 GB, free: 8.301 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.454, allocations: 0 / 0.5115 GB, free: 8.301 MB / 430.1 MB Notification: Performance of Templates: time 0.2633/0.7172, allocations: 69.04 MB / 0.5789 GB, free: 73.11 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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: 12.211857747286558]