Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 71.88 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1215, allocations: 53.32 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.2077/0.3291, allocations: 6.304 MB / 434.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003579/0.3327, allocations: 2.251 MB / 436.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.3332, allocations: 25.44 kB / 436.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.3347, allocations: 0.7572 MB / 437.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.336, allocations: 0.6074 MB / 437.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009545/0.337, allocations: 0.5296 MB / 438.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.3381, allocations: 1.2 MB / 439.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008821/0.339, allocations: 0.6799 MB / 440.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/0.3395, allocations: 478.5 kB / 440.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.3401, allocations: 0.541 MB / 441.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.3403, allocations: 110.7 kB / 441.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006307/0.3409, allocations: 286.1 kB / 441.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3411, allocations: 248.9 kB / 441.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.3415, allocations: 0.5475 MB / 442.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.3432, allocations: 1.485 MB / 443.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3432, allocations: 0.7969 kB / 443.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3432, allocations: 0 / 443.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.3432, allocations: 4 kB / 443.9 MB, free: 4.09 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.002996/0.3462, allocations: 1.475 MB / 445.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3462, allocations: 10.19 kB / 445.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00252/0.3487, allocations: 393.7 kB / 445.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008831/0.3496, allocations: 0.5921 MB / 446.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.3497, allocations: 74.81 kB / 446.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.3498, allocations: 104.6 kB / 446.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.3516, allocations: 1.02 MB / 447.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.3516, allocations: 6.109 kB / 447.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.3517, allocations: 43.92 kB / 447.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.3517, allocations: 24.44 kB / 447.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.3533, allocations: 0.8579 MB / 448.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005035/0.3583, allocations: 3.608 MB / 452.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.3608, allocations: 1.816 MB / 453.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009586/0.3618, allocations: 428 kB / 454.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.362, allocations: 179 kB / 454.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.363, allocations: 0.4915 MB / 455 MB, free: 13.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.236e-06/0.363, allocations: 0 / 455 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004853/0.3678, allocations: 1.675 MB / 456.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.368, allocations: 195.4 kB / 456.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006264/0.3686, allocations: 477.8 kB / 457.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.3687, allocations: 45.77 kB / 457.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.3691, allocations: 428.7 kB / 457.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.3694, allocations: 290.4 kB / 458.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.3696, allocations: 156.5 kB / 458.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003516/0.37, allocations: 374.1 kB / 458.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005936/0.3706, allocations: 270.1 kB / 458.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.3714, allocations: 495.2 kB / 459.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.3728, allocations: 0.7451 MB / 460.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3728, allocations: 1.594 kB / 460.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002216/0.375, allocations: 1.019 MB / 461.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.375, allocations: 11.75 kB / 461.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3751, allocations: 5.75 kB / 461.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009516/0.376, allocations: 260.8 kB / 461.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.3766, allocations: 150.9 kB / 461.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/0.383, allocations: 4.865 MB / 466.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.3842, allocations: 98.09 kB / 466.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/0.3843, allocations: 37.66 kB / 466.5 MB, free: 5.047 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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0004725/0.3847, allocations: 246.2 kB / 466.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.3849, allocations: 72.52 kB / 466.8 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.3871, allocations: 0.9515 MB / 467.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.3871, allocations: 9 kB / 467.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3871, allocations: 1.188 kB / 467.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.3871, allocations: 11.91 kB / 467.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.3906, allocations: 1.895 MB / 469.7 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3906, allocations: 3.938 kB / 469.7 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.3911, allocations: 104.8 kB / 469.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008571/0.392, allocations: 258.4 kB / 470 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.392, allocations: 19.31 kB / 470.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006016/0.398, allocations: 4.823 MB / 474.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.398, allocations: 9 kB / 474.9 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.4007, allocations: 1.361 MB / 476.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.4011, allocations: 219.1 kB / 476.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4012, allocations: 17.34 kB / 476.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.4016, allocations: 40.03 kB / 476.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.4018, allocations: 71.19 kB / 476.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.4019, allocations: 37.83 kB / 476.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003915/0.4022, allocations: 322.9 kB / 476.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4022, allocations: 0 / 476.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001097/0.4033, allocations: 315.6 kB / 477.2 MB, free: 13.2 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.0003025/0.4036, allocations: 153.6 kB / 477.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.4057, allocations: 1.05 MB / 478.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4057, allocations: 3.938 kB / 478.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.4069, allocations: 0.7173 MB / 479.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.4076, allocations: 132.1 kB / 479.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.4108, allocations: 1.697 MB / 481 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.4115, allocations: 0.9982 MB / 482 MB, free: 9.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.4117, allocations: 59.42 kB / 482.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4117, allocations: 0 / 482.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of Templates: time 0.02399/0.4357, allocations: 17.86 MB / 499.9 MB, free: 7.254 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.586034344974905]