Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001374/0.001374, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001385/0.001385, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 51.91 kB / 374.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 53.33 MB / 427.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.2089/0.3122, allocations: 6.269 MB / 433.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.3156, allocations: 1.698 MB / 435.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.3162, allocations: 58.69 kB / 435.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005432/0.3168, allocations: 302.4 kB / 435.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.318, allocations: 445.5 kB / 436.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.3186, allocations: 347.8 kB / 436.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.3206, allocations: 2.136 MB / 438.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.3227, allocations: 1.791 MB / 440.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.3243, allocations: 1.064 MB / 441.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.3263, allocations: 1.231 MB / 442.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008247/0.3271, allocations: 291.4 kB / 443.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.3283, allocations: 422.9 kB / 443.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00076/0.329, allocations: 0.71 MB / 444.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.3305, allocations: 1.236 MB / 445.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004721/0.3352, allocations: 3.639 MB / 449.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3352, allocations: 0.75 kB / 449.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3352, allocations: 1.156 kB / 449.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001457/0.3354, allocations: 3.938 kB / 449.1 MB, free: 1.797 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.006209/0.3416, allocations: 2.537 MB / 451.6 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3417, allocations: 11.12 kB / 451.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008216/0.3425, allocations: 264 kB / 451.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.3448, allocations: 1.315 MB / 453.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.345, allocations: 154.6 kB / 453.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/0.3453, allocations: 207.2 kB / 453.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004883/0.3502, allocations: 2.622 MB / 456.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.3502, allocations: 0 / 456.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.3504, allocations: 81.69 kB / 456.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-05/0.3505, allocations: 56.67 kB / 456.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.3542, allocations: 2.088 MB / 458.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.3663, allocations: 7.308 MB / 465.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.3688, allocations: 2.291 MB / 468 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.3703, allocations: 0.8858 MB / 468.9 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.3704, allocations: 14.53 kB / 468.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.3704, allocations: 47.69 kB / 468.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.486e-06/0.3704, allocations: 0 / 468.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008624/0.379, allocations: 4.192 MB / 473.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.3791, allocations: 64.41 kB / 473.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.3804, allocations: 0.8719 MB / 474.1 MB, free: 1.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/0.3805, allocations: 41.7 kB / 474.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/0.3811, allocations: 0.8553 MB / 475 MB, free: 292 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.3814, allocations: 345.2 kB / 475.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.3817, allocations: 174.6 kB / 475.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3819, allocations: 345.9 kB / 475.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008017/0.3827, allocations: 0.4899 MB / 476.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.3836, allocations: 0.6733 MB / 477 MB, free: 14.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.3854, allocations: 1.201 MB / 478.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.3854, allocations: 4 kB / 478.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002759/0.3881, allocations: 1.617 MB / 479.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3882, allocations: 8 kB / 479.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3882, allocations: 4 kB / 479.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.3893, allocations: 470.1 kB / 480.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.39, allocations: 171.8 kB / 480.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009654/0.3996, allocations: 9.284 MB / 489.7 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/0.4005, allocations: 51.89 kB / 489.8 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.4006, allocations: 36 kB / 489.8 MB, free: 0.7148 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001279/0.4019, allocations: 0.638 MB / 490.4 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.4021, allocations: 115.3 kB / 490.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.4024, allocations: 130.1 kB / 490.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/0.4025, allocations: 12 kB / 490.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/0.4025, allocations: 5.078 kB / 490.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4025, allocations: 12.03 kB / 490.7 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005984/0.4085, allocations: 3.466 MB / 494.2 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4085, allocations: 3.938 kB / 494.2 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.409, allocations: 131.8 kB / 494.3 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009926/0.41, allocations: 459.1 kB / 494.8 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/0.4101, allocations: 16 kB / 494.8 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009411/0.4195, allocations: 9.212 MB / 0.4922 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4195, allocations: 0 / 0.4922 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003884/0.4234, allocations: 2.297 MB / 0.4944 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006411/0.424, allocations: 284.4 kB / 0.4947 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.4242, allocations: 23.98 kB / 0.4947 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.4246, allocations: 39.95 kB / 0.4948 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.4249, allocations: 96.75 kB / 0.4948 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/0.4249, allocations: 20 kB / 0.4949 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009138/0.4259, allocations: 0.6161 MB / 0.4955 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4259, allocations: 0 / 0.4955 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001767/0.4276, allocations: 387.9 kB / 0.4958 GB, free: 14.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003101/0.4279, allocations: 133.8 kB / 0.496 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.4308, allocations: 1.781 MB / 0.4977 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4309, allocations: 4.188 kB / 0.4977 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.4326, allocations: 1.211 MB / 0.4989 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.4339, allocations: 303.9 kB / 0.4992 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/0.4403, allocations: 3.656 MB / 0.5028 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.4418, allocations: 1.687 MB / 0.5044 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.442, allocations: 75.42 kB / 0.5045 GB, free: 5.062 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.442, allocations: 0 / 0.5045 GB, free: 5.062 MB / 414.1 MB Notification: Performance of Templates: time 0.06753/0.5096, allocations: 58.86 MB / 0.562 GB, free: 10.2 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.465614854998421]