Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001665/0.001665, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001926/0.001926, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.525/1.525, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 51.91 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 52.15 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008011/0.1116, allocations: 6.244 MB / 425.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.1155, allocations: 1.659 MB / 426.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006995/0.1162, allocations: 43.88 kB / 426.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.1168, allocations: 309.5 kB / 427.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.1182, allocations: 425.2 kB / 427.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.1189, allocations: 343.5 kB / 428 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.1212, allocations: 2.137 MB / 430.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.1234, allocations: 1.797 MB / 431.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.1246, allocations: 1.032 MB / 432.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.1263, allocations: 1.234 MB / 434.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003937/0.1267, allocations: 288 kB / 434.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007629/0.1275, allocations: 451.6 kB / 434.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006779/0.1282, allocations: 0.7052 MB / 435.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.1295, allocations: 1.237 MB / 436.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003684/0.1332, allocations: 3.636 MB / 440.5 MB, free: 6.457 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1332, allocations: 0 / 440.5 MB, free: 6.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1332, allocations: 0 / 440.5 MB, free: 6.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.918e-05/0.1332, allocations: 0 / 440.5 MB, free: 6.457 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004701/0.1379, allocations: 2.528 MB / 443 MB, free: 3.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.138, allocations: 11.89 kB / 443 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/0.1385, allocations: 239.5 kB / 443.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.1406, allocations: 1.295 MB / 444.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.1408, allocations: 152.5 kB / 444.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.1411, allocations: 208.1 kB / 444.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2113/0.3524, allocations: 2.612 MB / 447.5 MB, free: 28.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.3525, allocations: 1.594 kB / 447.5 MB, free: 28.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.3526, allocations: 84.81 kB / 447.6 MB, free: 28.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.331e-05/0.3527, allocations: 52.16 kB / 447.6 MB, free: 28.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003211/0.3559, allocations: 2.094 MB / 449.7 MB, free: 28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.3663, allocations: 7.304 MB / 457 MB, free: 25.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.3682, allocations: 2.279 MB / 459.3 MB, free: 23.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.3696, allocations: 0.8985 MB / 460.2 MB, free: 22.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.3697, allocations: 10.72 kB / 460.2 MB, free: 22.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3697, allocations: 46.91 kB / 460.3 MB, free: 22.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.095e-06/0.3697, allocations: 0 / 460.3 MB, free: 22.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007934/0.3777, allocations: 4.189 MB / 464.4 MB, free: 21.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.3777, allocations: 66.34 kB / 464.5 MB, free: 20.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3788, allocations: 0.8631 MB / 465.4 MB, free: 20.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.3788, allocations: 40.45 kB / 465.4 MB, free: 20.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.3793, allocations: 0.8572 MB / 466.3 MB, free: 20 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.3794, allocations: 339.9 kB / 466.6 MB, free: 19.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.3797, allocations: 176.8 kB / 466.8 MB, free: 19.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.3797, allocations: 348.1 kB / 467.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.3804, allocations: 498.9 kB / 467.6 MB, free: 19.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000743/0.3812, allocations: 0.6723 MB / 468.3 MB, free: 18.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.3826, allocations: 1.202 MB / 469.5 MB, free: 17.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3826, allocations: 2.375 kB / 469.5 MB, free: 17.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002582/0.3852, allocations: 1.618 MB / 471.1 MB, free: 17.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3852, allocations: 7.25 kB / 471.1 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.3852, allocations: 8.656 kB / 471.1 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.3863, allocations: 468.2 kB / 471.6 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.387, allocations: 169 kB / 471.7 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006957/0.3939, allocations: 9.294 MB / 481 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007563/0.3947, allocations: 54.62 kB / 481.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.3947, allocations: 35.75 kB / 481.1 MB, free: 8.582 MB / 366.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.001003/0.3957, allocations: 0.6333 MB / 481.8 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.396, allocations: 112.3 kB / 481.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.3962, allocations: 136 kB / 482 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.3962, allocations: 15.08 kB / 482 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.3963, allocations: 1.344 kB / 482 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.3963, allocations: 9.234 kB / 482 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/0.4012, allocations: 3.469 MB / 485.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4012, allocations: 3.984 kB / 485.5 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.4017, allocations: 121.8 kB / 485.6 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008472/0.4026, allocations: 455.3 kB / 486.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/0.4026, allocations: 19.92 kB / 486.1 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007207/0.4098, allocations: 9.209 MB / 495.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4098, allocations: 2.438 kB / 495.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.4137, allocations: 2.299 MB / 497.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.4142, allocations: 288.4 kB / 497.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.4143, allocations: 24 kB / 497.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.4148, allocations: 48.02 kB / 497.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.415, allocations: 84.86 kB / 498 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.4151, allocations: 28 kB / 498 MB, free: 10.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008681/0.416, allocations: 0.6083 MB / 498.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.416, allocations: 0 / 498.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001681/0.4177, allocations: 379.9 kB / 499 MB, free: 9.793 MB / 382.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.0003185/0.418, allocations: 156.5 kB / 499.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002914/0.4209, allocations: 1.778 MB / 0.4892 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4209, allocations: 320 / 0.4892 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.4227, allocations: 1.204 MB / 0.4904 GB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.4241, allocations: 294.3 kB / 0.4907 GB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006281/0.4304, allocations: 3.644 MB / 0.4942 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.4319, allocations: 1.687 MB / 0.4959 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.4322, allocations: 75.42 kB / 0.496 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4322, allocations: 0 / 0.496 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of Templates: time 0.06849/0.5006, allocations: 58.66 MB / 0.5532 GB, free: 6.176 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.022361977957189]