Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.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.001833/0.001833, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002425/0.002425, allocations: 213.4 kB / 23.73 MB, free: 4.523 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.635/1.635, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 51.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2468, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007585/0.2544, allocations: 5.598 MB / 437.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.2587, allocations: 2.118 MB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000583/0.2593, allocations: 23.88 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.2613, allocations: 0.7033 MB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.2629, allocations: 0.5968 MB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2641, allocations: 0.5182 MB / 441.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.2659, allocations: 1.191 MB / 442.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.2672, allocations: 0.7686 MB / 443.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.2679, allocations: 490.2 kB / 443.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.2686, allocations: 0.5406 MB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.2687, allocations: 108 kB / 444.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005665/0.2693, allocations: 287.8 kB / 444.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.2695, allocations: 255.1 kB / 444.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.27, allocations: 449.9 kB / 445.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.2716, allocations: 1.502 MB / 446.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2716, allocations: 0 / 446.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2716, allocations: 0 / 446.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.2717, allocations: 0 / 446.7 MB, free: 7.523 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003257/0.2749, allocations: 1.666 MB / 448.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2749, allocations: 16.03 kB / 448.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.2774, allocations: 395.9 kB / 448.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.2784, allocations: 0.5133 MB / 449.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.838e-05/0.2784, allocations: 74.38 kB / 449.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.2786, allocations: 108.3 kB / 449.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.2805, allocations: 1.12 MB / 450.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.2805, allocations: 8 kB / 450.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/0.2806, allocations: 39.98 kB / 450.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.2806, allocations: 24 kB / 450.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.2823, allocations: 0.8511 MB / 451.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.2872, allocations: 2.968 MB / 454.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.2891, allocations: 0.8436 MB / 455.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008529/0.29, allocations: 403.4 kB / 455.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-05/0.2901, allocations: 24.64 kB / 455.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009666/0.2911, allocations: 0.5855 MB / 456.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.2911, allocations: 0 / 456.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.00459/0.2956, allocations: 1.481 MB / 457.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.2958, allocations: 200.9 kB / 458 MB, free: 11.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.2963, allocations: 462 kB / 458.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/0.2964, allocations: 49.69 kB / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.2967, allocations: 428.6 kB / 458.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.297, allocations: 289.5 kB / 459.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.2973, allocations: 158.6 kB / 459.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.2975, allocations: 374.7 kB / 459.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/0.298, allocations: 265.9 kB / 460 MB, free: 9.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008013/0.2988, allocations: 0.5879 MB / 460.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.3001, allocations: 0.7318 MB / 461.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3001, allocations: 4 kB / 461.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002074/0.3022, allocations: 1.014 MB / 462.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3022, allocations: 4.438 kB / 462.3 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3022, allocations: 12 kB / 462.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009662/0.3032, allocations: 265.6 kB / 462.6 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.3038, allocations: 147.7 kB / 462.7 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/0.3096, allocations: 4.554 MB / 467.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.3102, allocations: 91.48 kB / 467.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.3103, allocations: 36 kB / 467.4 MB, free: 2.004 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004078/0.3107, allocations: 253.7 kB / 467.7 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3108, allocations: 67.58 kB / 467.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.313, allocations: 0.9591 MB / 468.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.313, allocations: 8 kB / 468.7 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.313, allocations: 0 / 468.7 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.313, allocations: 3.984 kB / 468.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.3161, allocations: 1.644 MB / 470.3 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3161, allocations: 3.938 kB / 470.3 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.3165, allocations: 103.8 kB / 470.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008609/0.3174, allocations: 257.5 kB / 470.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.3175, allocations: 23.98 kB / 470.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/0.323, allocations: 4.499 MB / 475.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.323, allocations: 0 / 475.2 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.3257, allocations: 1.37 MB / 476.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.326, allocations: 139.2 kB / 476.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.3261, allocations: 20 kB / 476.7 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.3266, allocations: 43.97 kB / 476.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.3268, allocations: 72.86 kB / 476.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.3268, allocations: 28.11 kB / 476.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003909/0.3272, allocations: 310.9 kB / 477.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3272, allocations: 3.938 kB / 477.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001164/0.3284, allocations: 311.3 kB / 477.5 MB, free: 7.613 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003157/0.3287, allocations: 167.3 kB / 477.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.3308, allocations: 1.06 MB / 478.7 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3308, allocations: 0 / 478.7 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.332, allocations: 0.713 MB / 479.4 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.3327, allocations: 100.7 kB / 479.5 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.3359, allocations: 1.676 MB / 481.2 MB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.3363, allocations: 408.3 kB / 481.6 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003196/0.3367, allocations: 81.2 kB / 481.7 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3368, allocations: 51.42 kB / 481.7 MB, free: 3.242 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3368, allocations: 0 / 481.7 MB, free: 3.242 MB / 382.1 MB Notification: Performance of Templates: time 0.02259/0.3594, allocations: 12.9 MB / 494.6 MB, free: 6.551 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.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.505875783972442]