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.001476/0.001476, allocations: 96.25 kB / 20.96 MB, free: 3.438 MB / 18.57 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.001578/0.001578, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 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.462/1.462, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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 2.334e-06/2.334e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.94e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008644/0.008673, allocations: 5.605 MB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005035/0.01371, allocations: 2.125 MB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.01464, allocations: 19.94 kB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.01689, allocations: 0.7496 MB / 280.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.01881, allocations: 0.6091 MB / 281.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.02011, allocations: 0.5142 MB / 281.8 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.02196, allocations: 1.245 MB / 283.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.02354, allocations: 0.7532 MB / 283.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.0253, allocations: 0.6977 MB / 284.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009372/0.02623, allocations: 414.7 kB / 284.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.02652, allocations: 112 kB / 285 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007487/0.02727, allocations: 279.6 kB / 285.3 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.02757, allocations: 255.1 kB / 285.6 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007592/0.02833, allocations: 383 kB / 285.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.03054, allocations: 1.526 MB / 287.5 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.03054, allocations: 0 / 287.5 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.03054, allocations: 0 / 287.5 MB, free: 2.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.832e-05/0.03059, allocations: 0 / 287.5 MB, free: 2.449 MB / 266.7 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.003984/0.03457, allocations: 1.658 MB / 289.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.03462, allocations: 11.98 kB / 289.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.03738, allocations: 0.5115 MB / 289.6 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1182/0.1556, allocations: 0.5248 MB / 290.2 MB, free: 28.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/0.1557, allocations: 78.66 kB / 290.2 MB, free: 28.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.1559, allocations: 107.5 kB / 290.4 MB, free: 28.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.1582, allocations: 1.115 MB / 291.5 MB, free: 27.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/0.1582, allocations: 6.234 kB / 291.5 MB, free: 27.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/0.1583, allocations: 45.81 kB / 291.5 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.1584, allocations: 23.44 kB / 291.5 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.1601, allocations: 0.8509 MB / 292.4 MB, free: 27.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005164/0.1653, allocations: 2.993 MB / 295.4 MB, free: 25.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.1672, allocations: 0.847 MB / 296.2 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008927/0.1681, allocations: 405.2 kB / 296.6 MB, free: 25.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.1682, allocations: 33.83 kB / 296.7 MB, free: 25.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009632/0.1691, allocations: 0.5863 MB / 297.2 MB, free: 24.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.876e-06/0.1692, allocations: 0 / 297.2 MB, free: 24.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.004505/0.1737, allocations: 1.518 MB / 298.8 MB, free: 24.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1737, allocations: 195.3 kB / 299 MB, free: 24.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.1743, allocations: 462.6 kB / 299.4 MB, free: 23.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.1744, allocations: 41.62 kB / 299.4 MB, free: 23.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.1746, allocations: 435.5 kB / 299.9 MB, free: 23.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.1748, allocations: 290.2 kB / 300.2 MB, free: 23.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.1751, allocations: 155.2 kB / 300.3 MB, free: 23.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1752, allocations: 374 kB / 300.7 MB, free: 22.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.1757, allocations: 264.5 kB / 300.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.1764, allocations: 0.5812 MB / 301.5 MB, free: 22.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.1776, allocations: 0.7384 MB / 302.3 MB, free: 21.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.1776, allocations: 6.781 kB / 302.3 MB, free: 21.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002015/0.1796, allocations: 1.048 MB / 303.3 MB, free: 21.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1796, allocations: 7.531 kB / 303.3 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.1797, allocations: 5.75 kB / 303.3 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.1808, allocations: 293.7 kB / 303.6 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.1813, allocations: 144.7 kB / 303.7 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004546/0.1859, allocations: 4.591 MB / 308.3 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/0.1864, allocations: 96.42 kB / 308.4 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.1865, allocations: 36 kB / 308.5 MB, free: 17.47 MB / 266.7 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.0002912/0.1868, allocations: 239.1 kB / 308.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.1869, allocations: 103.5 kB / 308.8 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.1887, allocations: 0.9492 MB / 309.8 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.1887, allocations: 8 kB / 309.8 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1887, allocations: 0 / 309.8 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.1887, allocations: 11.92 kB / 309.8 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.1912, allocations: 1.655 MB / 311.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1912, allocations: 3.75 kB / 311.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.1916, allocations: 99.81 kB / 311.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000889/0.1925, allocations: 290.2 kB / 311.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.1926, allocations: 24 kB / 311.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.1965, allocations: 4.523 MB / 316.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1965, allocations: 2.422 kB / 316.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.1986, allocations: 1.395 MB / 317.8 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.1988, allocations: 131.4 kB / 317.9 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.905e-05/0.1989, allocations: 23.98 kB / 317.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.1994, allocations: 39.97 kB / 317.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1995, allocations: 76.86 kB / 318 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.1996, allocations: 23.98 kB / 318 MB, free: 7.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002791/0.1998, allocations: 310.9 kB / 318.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1998, allocations: 0 / 318.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009761/0.2008, allocations: 315.3 kB / 318.7 MB, free: 7.031 MB / 266.7 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.000261/0.2011, allocations: 165.5 kB / 318.8 MB, free: 6.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.2027, allocations: 1.057 MB / 319.9 MB, free: 5.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2027, allocations: 4 kB / 319.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009055/0.2036, allocations: 0.7108 MB / 320.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.2042, allocations: 113.7 kB / 320.7 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.2066, allocations: 1.634 MB / 322.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2069, allocations: 412.3 kB / 322.7 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.2072, allocations: 77.2 kB / 322.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.2073, allocations: 56.48 kB / 322.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2073, allocations: 4 kB / 322.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of Templates: time 0.02215/0.2295, allocations: 11.67 MB / 334.5 MB, free: 7.254 MB / 282.7 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/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_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: 5.010880936984904]