Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.001082/0.001082, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002558, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001107/0.001107, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002524, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.903/0.903, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08301/0.986, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2455/0.2455, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02819/0.2736, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.041e-05, allocations: 5.438 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005949/0.005969, allocations: 7.197 MB / 301.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.008365, allocations: 2.385 MB / 303.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.008622, allocations: 27.94 kB / 303.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.01038, allocations: 1.843 MB / 305.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.01148, allocations: 0.7143 MB / 306 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008931/0.01237, allocations: 0.7124 MB / 306.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008285/0.0132, allocations: 1.295 MB / 308 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000747/0.01395, allocations: 0.8324 MB / 308.9 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.01451, allocations: 0.7942 MB / 309.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.0149, allocations: 0.5103 MB / 310.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.01499, allocations: 111.9 kB / 310.3 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.01535, allocations: 299.6 kB / 310.6 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.01545, allocations: 195.3 kB / 310.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.01569, allocations: 339.3 kB / 311.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.01695, allocations: 1.019 MB / 312.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.16e-05/0.01698, allocations: 0 / 312.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01698, allocations: 0 / 312.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.482e-05/0.01702, allocations: 0 / 312.1 MB, free: 2.844 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002814/0.01984, allocations: 2.16 MB / 314.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.01987, allocations: 8.922 kB / 314.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004744/0.02461, allocations: 1.768 MB / 316.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.02517, allocations: 343.6 kB / 316.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.02522, allocations: 95.03 kB / 316.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.02534, allocations: 144.3 kB / 316.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/0.02633, allocations: 0.9966 MB / 317.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.02636, allocations: 3.938 kB / 317.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/0.02642, allocations: 56 kB / 317.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.02644, allocations: 32 kB / 317.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.02709, allocations: 0.5906 MB / 318.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.0306, allocations: 2.977 MB / 321.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/0.03132, allocations: 0.5969 MB / 321.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.03147, allocations: 152.2 kB / 322 MB, free: 8.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.806e-05/0.03154, allocations: 32.97 kB / 322.1 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.03157, allocations: 43.56 kB / 322.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 2.565e-06/0.03157, allocations: 0 / 322.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=90): time 0.0006714/0.03224, allocations: 0.4921 MB / 322.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.03227, allocations: 60.41 kB / 322.6 MB, free: 8.012 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.03252, allocations: 434.8 kB / 323.1 MB, free: 7.578 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.03255, allocations: 41.7 kB / 323.1 MB, free: 7.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.03273, allocations: 0.5196 MB / 323.6 MB, free: 7.004 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.03287, allocations: 321.2 kB / 323.9 MB, free: 6.688 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.03304, allocations: 198.7 kB / 324.1 MB, free: 6.488 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.03314, allocations: 378.6 kB / 324.5 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.03328, allocations: 110.6 kB / 324.6 MB, free: 6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.03353, allocations: 401.6 kB / 325 MB, free: 5.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.034, allocations: 0.6083 MB / 325.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.03401, allocations: 7.938 kB / 325.6 MB, free: 4.766 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0006189/0.03463, allocations: 0.6103 MB / 326.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.03465, allocations: 14.5 kB / 326.3 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.03466, allocations: 8 kB / 326.3 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.03486, allocations: 74 kB / 326.3 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.03542, allocations: 307.5 kB / 326.6 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.03658, allocations: 2.366 MB / 329 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.03693, allocations: 111.1 kB / 329.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.03697, allocations: 35.98 kB / 329.1 MB, free: 1.059 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.03712, allocations: 181.7 kB / 329.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.0372, allocations: 71.94 kB / 329.4 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.03786, allocations: 0.6917 MB / 330.1 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.03786, allocations: 11.98 kB / 330.1 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.03787, allocations: 0 / 330.1 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.03788, allocations: 7.922 kB / 330.1 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.03917, allocations: 1.237 MB / 331.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.03918, allocations: 8 kB / 331.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.03959, allocations: 220.5 kB / 331.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.03965, allocations: 83.34 kB / 331.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/0.0398, allocations: 69.59 kB / 331.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.03983, allocations: 27.98 kB / 331.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009699/0.0408, allocations: 2.36 MB / 334.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.04081, allocations: 11.94 kB / 334.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.04148, allocations: 0.7964 MB / 334.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.04154, allocations: 27.95 kB / 334.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.0418, allocations: 60.06 kB / 335 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.04187, allocations: 76.41 kB / 335.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.0419, allocations: 24 kB / 335.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.04203, allocations: 184.6 kB / 335.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04203, allocations: 0 / 335.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005733/0.0426, allocations: 339.2 kB / 335.6 MB, free: 10.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 91 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/0.0428, allocations: 160.1 kB / 335.8 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006375/0.04344, allocations: 0.7262 MB / 336.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-05/0.04346, allocations: 23.11 kB / 336.5 MB, free: 9.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.04378, allocations: 472.7 kB / 337 MB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.04416, allocations: 167 kB / 337.1 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/0.05242, allocations: 1.869 MB / 339 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.05255, allocations: 197.7 kB / 339.2 MB, free: 6.395 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.05287, allocations: 129.9 kB / 339.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.05314, allocations: 187.3 kB / 339.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.05314, allocations: 4 kB / 339.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of Templates: time 0.01285/0.06599, allocations: 10.04 MB / 349.6 MB, free: 12.18 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9973224317654967]