Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001731/0.001731, allocations: 82.7 kB / 22 MB, free: 5.18 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.001967/0.001967, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 158.6 MB / 187 MB, free: 6.477 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 55.92 kB / 299.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2091, allocations: 49.15 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007834/0.2169, allocations: 5.481 MB / 354 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.221, allocations: 1.656 MB / 355.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007343/0.2217, allocations: 47.69 kB / 355.7 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006542/0.2224, allocations: 309.5 kB / 356 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.2237, allocations: 441.2 kB / 356.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007806/0.2245, allocations: 359.5 kB / 356.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.2272, allocations: 2.145 MB / 358.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.2291, allocations: 1.312 MB / 360.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.2305, allocations: 1.051 MB / 361.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.2323, allocations: 1.179 MB / 362.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003968/0.2327, allocations: 292 kB / 362.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007716/0.2335, allocations: 415.6 kB / 363.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007107/0.2342, allocations: 0.7013 MB / 363.9 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.2355, allocations: 0.996 MB / 364.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003879/0.2394, allocations: 3.642 MB / 368.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2394, allocations: 0 / 368.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2394, allocations: 0 / 368.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.199e-05/0.2395, allocations: 0 / 368.5 MB, free: 11.39 MB / 334.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.004871/0.2443, allocations: 2.445 MB / 370.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2444, allocations: 11.98 kB / 371 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004411/0.2448, allocations: 247.4 kB / 371.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.247, allocations: 1.122 MB / 372.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.2471, allocations: 156.5 kB / 372.5 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.2474, allocations: 212.1 kB / 372.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004695/0.2521, allocations: 2.643 MB / 375.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/0.2522, allocations: 0 / 375.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.2524, allocations: 80 kB / 375.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/0.2524, allocations: 52 kB / 375.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.2562, allocations: 2.077 MB / 377.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.2675, allocations: 6.346 MB / 383.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.2695, allocations: 1.291 MB / 385.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.271, allocations: 0.8935 MB / 386.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.2711, allocations: 9 kB / 386.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.2711, allocations: 47.5 kB / 386.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.437e-06/0.2711, allocations: 0 / 386.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.008128/0.2792, allocations: 3.902 MB / 390 MB, free: 5.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.2793, allocations: 64.41 kB / 390.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.2805, allocations: 0.8365 MB / 390.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.2805, allocations: 41.7 kB / 391 MB, free: 4.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.2812, allocations: 0.8514 MB / 391.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.2815, allocations: 341.1 kB / 392.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.2818, allocations: 182.6 kB / 392.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.282, allocations: 349.9 kB / 392.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008369/0.2828, allocations: 0.4899 MB / 393.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/0.2838, allocations: 0.6655 MB / 393.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.2858, allocations: 1.205 MB / 395 MB, free: 272 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2858, allocations: 0 / 395 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002903/0.2887, allocations: 1.609 MB / 396.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.2887, allocations: 12.28 kB / 396.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.2887, allocations: 8 kB / 396.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.2899, allocations: 463 kB / 397.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.2906, allocations: 175.7 kB / 397.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.3009, allocations: 8.713 MB / 406 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006864/0.3016, allocations: 43.95 kB / 406 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.3017, allocations: 36 kB / 406.1 MB, free: 4.793 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.001118/0.3028, allocations: 0.6423 MB / 406.7 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.3031, allocations: 107.3 kB / 406.8 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.3034, allocations: 141.7 kB / 406.9 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-05/0.3034, allocations: 12.06 kB / 407 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3034, allocations: 4 kB / 407 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3034, allocations: 7.922 kB / 407 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005761/0.3092, allocations: 3.054 MB / 410 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3092, allocations: 0 / 410 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.3098, allocations: 131.9 kB / 410.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.3108, allocations: 451 kB / 410.6 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.3109, allocations: 16 kB / 410.6 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/0.3212, allocations: 8.636 MB / 419.2 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3212, allocations: 12.14 kB / 419.3 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003724/0.3249, allocations: 2.301 MB / 421.6 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.3255, allocations: 203.3 kB / 421.8 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.3256, allocations: 23.98 kB / 421.8 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.3261, allocations: 43.95 kB / 421.8 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.3263, allocations: 92.7 kB / 421.9 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.3264, allocations: 27.98 kB / 421.9 MB, free: 4.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008302/0.3272, allocations: 0.581 MB / 422.5 MB, free: 3.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3272, allocations: 0 / 422.5 MB, free: 3.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001466/0.3287, allocations: 383.9 kB / 422.9 MB, free: 3.422 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.0002988/0.329, allocations: 143 kB / 423 MB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.3321, allocations: 1.783 MB / 424.8 MB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3321, allocations: 4 kB / 424.8 MB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.3339, allocations: 1.204 MB / 426 MB, free: 184 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.3354, allocations: 287.2 kB / 426.3 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/0.3423, allocations: 3.668 MB / 430 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.3437, allocations: 1.134 MB / 431.1 MB, free: 11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006011/0.3443, allocations: 188.6 kB / 431.3 MB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.3445, allocations: 68.48 kB / 431.4 MB, free: 10.75 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3445, allocations: 0 / 431.4 MB, free: 10.75 MB / 398.1 MB Notification: Performance of Templates: time 0.03637/0.3808, allocations: 20 MB / 451.4 MB, free: 6.695 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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: 5.268299460061826]