Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001449/0.001449, allocations: 83.69 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.001347/0.001347, 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.286/1.286, allocations: 158.6 MB / 187 MB, free: 6.484 MB / 174.1 MB " [Timeout remaining time 179] 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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.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.001866/0.001866, allocations: 55.92 kB / 299.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2099, allocations: 49.15 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.00769/0.2176, allocations: 5.568 MB / 354.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.2222, allocations: 2.08 MB / 356.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008392/0.223, allocations: 19.94 kB / 356.2 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.2252, allocations: 0.7306 MB / 356.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.2272, allocations: 0.6095 MB / 357.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.2284, allocations: 0.4909 MB / 358 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.23, allocations: 1.191 MB / 359.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.2312, allocations: 0.7481 MB / 360 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.2318, allocations: 486.2 kB / 360.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006964/0.2325, allocations: 0.4898 MB / 360.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.2327, allocations: 112 kB / 361 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.2332, allocations: 255.9 kB / 361.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.2334, allocations: 259.1 kB / 361.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.2339, allocations: 457.9 kB / 362 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.2355, allocations: 1.474 MB / 363.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2355, allocations: 0 / 363.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2355, allocations: 4 kB / 363.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.2355, allocations: 0 / 363.5 MB, free: 2.215 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003209/0.2387, allocations: 1.674 MB / 365.1 MB, free: 500 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2388, allocations: 11.98 kB / 365.1 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.2418, allocations: 475.8 kB / 365.6 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009188/0.2427, allocations: 0.5095 MB / 366.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.2428, allocations: 82.41 kB / 366.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.2429, allocations: 100.4 kB / 366.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.2449, allocations: 1.156 MB / 367.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.2449, allocations: 7.953 kB / 367.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.781e-05/0.245, allocations: 44 kB / 367.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.245, allocations: 27.98 kB / 367.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.2468, allocations: 0.9096 MB / 368.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005216/0.252, allocations: 3.071 MB / 371.5 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.2542, allocations: 0.9036 MB / 372.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009166/0.2551, allocations: 407.5 kB / 372.8 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.543e-05/0.2552, allocations: 20.64 kB / 372.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009671/0.2562, allocations: 0.6011 MB / 373.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.706e-06/0.2562, allocations: 0 / 373.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=86): time 0.004525/0.2607, allocations: 1.489 MB / 374.9 MB, free: 6.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.2608, allocations: 192.9 kB / 375.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.2614, allocations: 453.7 kB / 375.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/0.2614, allocations: 45.7 kB / 375.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.2617, allocations: 440.6 kB / 376 MB, free: 5.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.262, allocations: 297.4 kB / 376.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.2623, allocations: 170.6 kB / 376.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.2624, allocations: 374.8 kB / 376.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.263, allocations: 265.9 kB / 377.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008701/0.2639, allocations: 0.6281 MB / 377.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.2653, allocations: 0.7992 MB / 378.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.2653, allocations: 7.938 kB / 378.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002151/0.2675, allocations: 1.053 MB / 379.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2675, allocations: 8 kB / 379.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.2675, allocations: 8 kB / 379.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009073/0.2684, allocations: 281.7 kB / 379.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.269, allocations: 155.7 kB / 380 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005831/0.2749, allocations: 4.533 MB / 384.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006152/0.2755, allocations: 115.4 kB / 384.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.2756, allocations: 36 kB / 384.7 MB, free: 12.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,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 (90): * Single equations (assignments): 88 * 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.0003642/0.2759, allocations: 257.6 kB / 385 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.276, allocations: 67.58 kB / 385 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.2783, allocations: 0.9752 MB / 386 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.2783, allocations: 8 kB / 386 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2783, allocations: 7.875 kB / 386 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.2783, allocations: 7.969 kB / 386 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.2816, allocations: 1.656 MB / 387.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.2816, allocations: 3.984 kB / 387.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.282, allocations: 103.9 kB / 387.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008095/0.2829, allocations: 261.4 kB / 388.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.2829, allocations: 23.98 kB / 388.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005739/0.2887, allocations: 4.495 MB / 392.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2887, allocations: 0 / 392.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.2914, allocations: 1.381 MB / 394 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.2917, allocations: 139.3 kB / 394.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/0.2918, allocations: 20 kB / 394.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.2923, allocations: 39.97 kB / 394.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.2924, allocations: 76.86 kB / 394.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.2925, allocations: 31.98 kB / 394.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004466/0.293, allocations: 299.1 kB / 394.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.293, allocations: 0 / 394.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001184/0.2941, allocations: 319.3 kB / 394.9 MB, free: 1.625 MB / 350.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,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.y) * 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 (59): * Single equations (assignments): 54 * 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.0002911/0.2944, allocations: 163.3 kB / 395 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.2965, allocations: 1.07 MB / 396.1 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.2965, allocations: 4 kB / 396.1 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.2977, allocations: 0.7121 MB / 396.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.2983, allocations: 102 kB / 396.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.3014, allocations: 1.72 MB / 398.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.3018, allocations: 404.4 kB / 399 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.3021, allocations: 85.31 kB / 399.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.3022, allocations: 56.42 kB / 399.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3022, allocations: 0 / 399.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Templates: time 0.02118/0.3234, allocations: 11.53 MB / 410.7 MB, free: 1.641 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 4.854355738032609]