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.00184/0.00184, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002275/0.002275, allocations: 213.1 kB / 23.73 MB, free: 4.164 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.793 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.91 kB / 377.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2587, allocations: 53.4 MB / 431.1 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007997/0.2667, allocations: 5.593 MB / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004352/0.2711, allocations: 2.126 MB / 438.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.2716, allocations: 19.94 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.2735, allocations: 0.7227 MB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.2751, allocations: 0.5895 MB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.2763, allocations: 0.5182 MB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.2778, allocations: 1.199 MB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.279, allocations: 0.7494 MB / 442.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006847/0.2797, allocations: 486.2 kB / 443.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007148/0.2804, allocations: 481.6 kB / 443.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.2805, allocations: 112 kB / 443.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005875/0.2811, allocations: 279.8 kB / 444 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.2814, allocations: 255.1 kB / 444.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004767/0.2818, allocations: 457.8 kB / 444.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.2837, allocations: 1.494 MB / 446.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2837, allocations: 0 / 446.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2837, allocations: 0 / 446.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.2837, allocations: 0 / 446.2 MB, free: 7.281 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.003426/0.2871, allocations: 1.662 MB / 447.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2872, allocations: 19.98 kB / 447.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002572/0.2874, allocations: 166.3 kB / 448 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.2899, allocations: 395.9 kB / 448.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.291, allocations: 0.521 MB / 448.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.2911, allocations: 82.38 kB / 449 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.2912, allocations: 100.3 kB / 449.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.2932, allocations: 1.128 MB / 450.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.2932, allocations: 3.938 kB / 450.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/0.2933, allocations: 40 kB / 450.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.2933, allocations: 24 kB / 450.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.2951, allocations: 0.8511 MB / 451.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005839/0.3009, allocations: 3.1 MB / 454.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.3029, allocations: 0.8436 MB / 455.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009163/0.3038, allocations: 399.5 kB / 455.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.3039, allocations: 32.56 kB / 455.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009971/0.3049, allocations: 0.5817 MB / 456.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.545e-06/0.3049, allocations: 0 / 456.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004657/0.3096, allocations: 1.497 MB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.3097, allocations: 193 kB / 457.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.3104, allocations: 489.9 kB / 458.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.3105, allocations: 49.62 kB / 458.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.3109, allocations: 424.7 kB / 458.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.3112, allocations: 293.5 kB / 459 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.3115, allocations: 158.6 kB / 459.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.3117, allocations: 374.8 kB / 459.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.3123, allocations: 261.9 kB / 459.8 MB, free: 9.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.3131, allocations: 0.5879 MB / 460.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3145, allocations: 0.7434 MB / 461.1 MB, free: 7.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3145, allocations: 0 / 461.1 MB, free: 7.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002141/0.3166, allocations: 1.01 MB / 462.1 MB, free: 6.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3166, allocations: 12.03 kB / 462.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3166, allocations: 4 kB / 462.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009051/0.3175, allocations: 273 kB / 462.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.3181, allocations: 143.8 kB / 462.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.3243, allocations: 4.609 MB / 467.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000642/0.3249, allocations: 95.45 kB / 467.3 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.325, allocations: 48.05 kB / 467.3 MB, free: 1.309 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.0004315/0.3254, allocations: 242.5 kB / 467.5 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3255, allocations: 71.58 kB / 467.6 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.3277, allocations: 0.9553 MB / 468.6 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.3277, allocations: 12 kB / 468.6 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3277, allocations: 0 / 468.6 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3277, allocations: 7.969 kB / 468.6 MB, free: 0 / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.3312, allocations: 1.768 MB / 470.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3312, allocations: 0 / 470.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.3316, allocations: 95.88 kB / 470.5 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008205/0.3325, allocations: 257.4 kB / 470.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.3325, allocations: 27.92 kB / 470.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005958/0.3385, allocations: 4.553 MB / 475.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3385, allocations: 4.031 kB / 475.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.3413, allocations: 1.366 MB / 476.7 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.3416, allocations: 139.3 kB / 476.8 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.3417, allocations: 19.98 kB / 476.8 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.3422, allocations: 47.97 kB / 476.9 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.3424, allocations: 72.8 kB / 476.9 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.3424, allocations: 28 kB / 477 MB, free: 7.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004744/0.3429, allocations: 330.9 kB / 477.3 MB, free: 6.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3429, allocations: 0 / 477.3 MB, free: 6.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001162/0.3441, allocations: 311.3 kB / 477.6 MB, free: 6.691 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.003325/0.3474, allocations: 1.977 MB / 479.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.3497, allocations: 1.056 MB / 480.6 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3497, allocations: 0 / 480.6 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.351, allocations: 0.709 MB / 481.3 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.3518, allocations: 122.5 kB / 481.4 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.3628, allocations: 6.527 MB / 488 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.3633, allocations: 412.5 kB / 488.4 MB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003702/0.3637, allocations: 81.48 kB / 488.5 MB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/0.3641, allocations: 327.3 kB / 488.8 MB, free: 11.11 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3641, allocations: 3.938 kB / 488.8 MB, free: 11.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06296/0.4271, allocations: 20.15 MB / 0.497 GB, free: 7.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.7, allocations: 2.188 kB / 0.497 GB, free: 7.195 MB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 16.91227188007906]