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.001193/0.001193, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.005246/0.005246, allocations: 161.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8615/0.8615, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.412e-06/1.412e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.76e-05, allocations: 6.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.004697/0.004725, allocations: 5.57 MB / 331.4 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.007586, allocations: 1.663 MB / 333.1 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005642/0.00815, allocations: 55.69 kB / 333.1 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.008623, allocations: 313.4 kB / 333.4 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.009695, allocations: 452.7 kB / 333.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.01028, allocations: 363.4 kB / 334.2 MB, free: 7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.01193, allocations: 2.206 MB / 336.4 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.01326, allocations: 1.356 MB / 337.8 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.01481, allocations: 1.571 MB / 339.3 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.01623, allocations: 1.044 MB / 340.4 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003704/0.0166, allocations: 288 kB / 340.7 MB, free: 472 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004666/0.01706, allocations: 407.7 kB / 341.1 MB, free: 64 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.01746, allocations: 0.7284 MB / 341.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008063/0.01827, allocations: 0.8498 MB / 342.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.02081, allocations: 3.677 MB / 346.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.02082, allocations: 0 / 346.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.02082, allocations: 0 / 346.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001095/0.02093, allocations: 0 / 346.3 MB, free: 10.79 MB / 314.7 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.00349/0.02442, allocations: 2.441 MB / 348.8 MB, free: 8.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.02446, allocations: 16.02 kB / 348.8 MB, free: 8.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004362/0.0249, allocations: 263.5 kB / 349 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.02627, allocations: 1.246 MB / 350.3 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.388e-05/0.02634, allocations: 156.5 kB / 350.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.02653, allocations: 204.4 kB / 350.6 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.02929, allocations: 2.64 MB / 353.3 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.02932, allocations: 7.938 kB / 353.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.02944, allocations: 87.98 kB / 353.4 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/0.02948, allocations: 52 kB / 353.4 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.03187, allocations: 2.085 MB / 355.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006599/0.03847, allocations: 6.323 MB / 361.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.03967, allocations: 1.307 MB / 363.1 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009138/0.04058, allocations: 0.894 MB / 364 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.04063, allocations: 13 kB / 364 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.04066, allocations: 43.5 kB / 364.1 MB, free: 8.676 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 3.447e-06/0.04066, allocations: 0 / 364.1 MB, free: 8.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.005074/0.04574, allocations: 3.891 MB / 368 MB, free: 4.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.04578, allocations: 68.39 kB / 368 MB, free: 4.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008763/0.04666, allocations: 0.8367 MB / 368.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002786/0.04694, allocations: 41.7 kB / 368.9 MB, free: 3.762 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.04735, allocations: 0.8553 MB / 369.8 MB, free: 2.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.04754, allocations: 337.1 kB / 370.1 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.04773, allocations: 178.6 kB / 370.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.04784, allocations: 349.9 kB / 370.6 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.04835, allocations: 497.7 kB / 371.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.04895, allocations: 0.6694 MB / 371.8 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.05009, allocations: 1.205 MB / 373 MB, free: 15.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.05009, allocations: 0 / 373 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001827/0.05192, allocations: 1.617 MB / 374.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.05195, allocations: 8 kB / 374.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.05197, allocations: 11.98 kB / 374.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.0527, allocations: 463 kB / 375.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.0531, allocations: 175.7 kB / 375.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.05919, allocations: 8.726 MB / 384 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.05972, allocations: 48.14 kB / 384 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.05977, allocations: 36 kB / 384 MB, free: 4.031 MB / 346.7 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.0009469/0.06072, allocations: 0.6482 MB / 384.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.06089, allocations: 103.3 kB / 384.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.06101, allocations: 137.8 kB / 384.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.06103, allocations: 12 kB / 384.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.06104, allocations: 0 / 384.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/0.06105, allocations: 3.984 kB / 384.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.0644, allocations: 3.057 MB / 388 MB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.06441, allocations: 4.047 kB / 388 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.06471, allocations: 119.8 kB / 388.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.06527, allocations: 451.2 kB / 388.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.06532, allocations: 27.92 kB / 388.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005735/0.07105, allocations: 8.621 MB / 397.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.07105, allocations: 0 / 397.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.07359, allocations: 2.305 MB / 399.5 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.07398, allocations: 207.3 kB / 399.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.07405, allocations: 20.12 kB / 399.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.07428, allocations: 43.95 kB / 399.8 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.07446, allocations: 92.77 kB / 399.9 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.0745, allocations: 27.98 kB / 399.9 MB, free: 3.648 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005734/0.07508, allocations: 0.5926 MB / 400.5 MB, free: 3.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07508, allocations: 0 / 400.5 MB, free: 3.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001093/0.07617, allocations: 379.9 kB / 400.9 MB, free: 2.688 MB / 362.7 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.0002448/0.07641, allocations: 158.2 kB / 401 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.07814, allocations: 1.769 MB / 402.8 MB, free: 0.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.07815, allocations: 0 / 402.8 MB, free: 0.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00098/0.07913, allocations: 1.203 MB / 404 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.07987, allocations: 279.2 kB / 404.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.08396, allocations: 3.553 MB / 407.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/0.08477, allocations: 1.111 MB / 408.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.08494, allocations: 68.5 kB / 409 MB, free: 10.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.08494, allocations: 4 kB / 409 MB, free: 10.36 MB / 378.7 MB Notification: Performance of Templates: time 0.1699/0.2549, allocations: 59.36 MB / 468.4 MB, free: 107.4 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/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: 7.651923908852041]