Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001865/0.001865, allocations: 107.5 kB / 20.44 MB, free: 1.203 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.002167/0.002167, allocations: 184 kB / 23.7 MB, free: 4.434 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.513/1.513, allocations: 225.7 MB / 252.5 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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 51.92 kB / 370.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2395, allocations: 52.18 MB / 423.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005364/0.2449, allocations: 3.406 MB / 426.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.247, allocations: 0.9855 MB / 427.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.2473, allocations: 19.88 kB / 427.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.2476, allocations: 107.1 kB / 427.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.2483, allocations: 246.6 kB / 427.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.2486, allocations: 139.8 kB / 428 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2497, allocations: 0.9495 MB / 428.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/0.2502, allocations: 327.5 kB / 429.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.2507, allocations: 426.5 kB / 429.7 MB, free: 7.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.2514, allocations: 494.1 kB / 430.2 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.2515, allocations: 104 kB / 430.3 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.2517, allocations: 100 kB / 430.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.252, allocations: 287.1 kB / 430.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.2524, allocations: 386.3 kB / 431 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.2536, allocations: 1.287 MB / 432.3 MB, free: 5.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2537, allocations: 4 kB / 432.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2537, allocations: 0 / 432.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.2537, allocations: 0 / 432.3 MB, free: 5.184 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002407/0.2561, allocations: 1.311 MB / 433.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2561, allocations: 8.031 kB / 433.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.2563, allocations: 96.36 kB / 433.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.2573, allocations: 0.5831 MB / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.2574, allocations: 53.25 kB / 434.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2575, allocations: 64 kB / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.2592, allocations: 0.9362 MB / 435.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.2592, allocations: 4 kB / 435.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/0.2593, allocations: 27.98 kB / 435.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.2593, allocations: 37.23 kB / 435.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.2607, allocations: 0.7936 MB / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004443/0.2652, allocations: 2.417 MB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008613/0.2661, allocations: 489.7 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.2667, allocations: 321.3 kB / 439.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.2667, allocations: 8.266 kB / 439.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006874/0.2674, allocations: 411.6 kB / 439.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/0.2674, allocations: 0 / 439.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003016/0.2704, allocations: 1.119 MB / 440.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.2705, allocations: 110.8 kB / 441.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/0.2713, allocations: 0.5526 MB / 441.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.2713, allocations: 41.69 kB / 441.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.2717, allocations: 360.6 kB / 442 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.2718, allocations: 138.8 kB / 442.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.272, allocations: 98.14 kB / 442.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.2722, allocations: 362.8 kB / 442.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.2726, allocations: 216.9 kB / 442.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.2731, allocations: 382.8 kB / 443.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.274, allocations: 0.5699 MB / 443.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.274, allocations: 0 / 443.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001337/0.2754, allocations: 0.7395 MB / 444.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2754, allocations: 8 kB / 444.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2754, allocations: 4 kB / 444.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.276, allocations: 205.2 kB / 444.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.2763, allocations: 79.83 kB / 444.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/0.2799, allocations: 2.786 MB / 447.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.2803, allocations: 55.69 kB / 447.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.2804, allocations: 23.94 kB / 447.6 MB, free: 5.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004762/0.2809, allocations: 325.5 kB / 448 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.2809, allocations: 55.62 kB / 448 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.2811, allocations: 65.2 kB / 448.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2811, allocations: 8 kB / 448.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2811, allocations: 3.984 kB / 448.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2811, allocations: 0 / 448.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.2837, allocations: 1.436 MB / 449.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2837, allocations: 0 / 449.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.284, allocations: 47.97 kB / 449.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.2844, allocations: 196.8 kB / 449.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.2845, allocations: 11.98 kB / 449.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/0.288, allocations: 2.763 MB / 452.5 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.288, allocations: 0 / 452.5 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.2898, allocations: 1.1 MB / 453.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.2902, allocations: 115.6 kB / 453.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.2903, allocations: 15.98 kB / 453.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.2906, allocations: 23.97 kB / 453.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.2907, allocations: 43.92 kB / 453.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.2907, allocations: 15.98 kB / 453.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006029/0.2913, allocations: 398.8 kB / 454.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2913, allocations: 0 / 454.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008097/0.2921, allocations: 219.4 kB / 454.4 MB, free: 14.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001814/0.2923, allocations: 127.1 kB / 454.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.2938, allocations: 0.7018 MB / 455.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2938, allocations: 7.938 kB / 455.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.2946, allocations: 462.2 kB / 455.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.2952, allocations: 145.6 kB / 455.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.2978, allocations: 1.458 MB / 457.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.2984, allocations: 481.9 kB / 457.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002581/0.2986, allocations: 92.64 kB / 457.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.2987, allocations: 43.42 kB / 457.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2987, allocations: 0 / 457.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01894/0.3177, allocations: 10.37 MB / 468.3 MB, free: 0.5938 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 4.673314927145839]