Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.008583/0.008583, allocations: 109.2 kB / 21.98 MB, free: 5.184 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.002186/0.002186, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.474/1.474, allocations: 230.5 MB / 258.9 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2307/0.2307, allocations: 46.93 MB / 362.3 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 83.8 kB / 0.4982 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3578, allocations: 66.08 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009326/0.3671, allocations: 7.551 MB / 0.5701 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004968/0.3721, allocations: 2.376 MB / 0.5724 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.3728, allocations: 31.88 kB / 0.5725 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004014/0.3769, allocations: 1.754 MB / 0.5742 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.3792, allocations: 0.7061 MB / 0.5749 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.3809, allocations: 0.7474 MB / 0.5756 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.383, allocations: 1.257 MB / 0.5768 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.3845, allocations: 0.8747 MB / 0.5777 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008251/0.3854, allocations: 0.5215 MB / 0.5782 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008048/0.3862, allocations: 0.6652 MB / 0.5788 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.3863, allocations: 108 kB / 0.5789 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00075/0.3871, allocations: 299.8 kB / 0.5792 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.3873, allocations: 275 kB / 0.5795 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.3879, allocations: 0.6064 MB / 0.5801 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.3902, allocations: 1.611 MB / 0.5817 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3902, allocations: 0 / 0.5817 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3902, allocations: 4 kB / 0.5817 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.3902, allocations: 0 / 0.5817 GB, free: 0.8008 MB / 414.1 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.004565/0.3948, allocations: 1.754 MB / 0.5834 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3948, allocations: 11.97 kB / 0.5834 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009324/0.4042, allocations: 1.272 MB / 0.5846 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.4055, allocations: 0.5118 MB / 0.5851 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.526e-05/0.4056, allocations: 95.03 kB / 0.5852 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.4059, allocations: 140.1 kB / 0.5853 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.4083, allocations: 1.249 MB / 0.5866 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.4084, allocations: 0 / 0.5866 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.4085, allocations: 59.94 kB / 0.5866 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.4085, allocations: 32 kB / 0.5867 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.4112, allocations: 1.459 MB / 0.5881 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00814/0.4193, allocations: 4.198 MB / 0.5922 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.4211, allocations: 0.8149 MB / 0.593 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.4218, allocations: 336.2 kB / 0.5933 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.4219, allocations: 44.94 kB / 0.5933 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.4219, allocations: 43.5 kB / 0.5934 GB, free: 4.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.116e-06/0.4219, allocations: 0 / 0.5934 GB, free: 4.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002387/0.4243, allocations: 1.056 MB / 0.5944 GB, free: 3.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4244, allocations: 68.34 kB / 0.5945 GB, free: 3.438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.4255, allocations: 0.821 MB / 0.5953 GB, free: 2.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.4255, allocations: 41.7 kB / 0.5953 GB, free: 2.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.426, allocations: 0.5155 MB / 0.5958 GB, free: 2.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.4263, allocations: 321.3 kB / 0.5961 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/0.4266, allocations: 202.8 kB / 0.5963 GB, free: 1.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.4268, allocations: 406.7 kB / 0.5967 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.4275, allocations: 350.4 kB / 0.597 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009251/0.4284, allocations: 0.627 MB / 0.5977 GB, free: 20 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.4301, allocations: 0.9914 MB / 0.5986 GB, free: 14.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.4301, allocations: 4 kB / 0.5986 GB, free: 14.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002274/0.4323, allocations: 1.194 MB / 0.5998 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4324, allocations: 15.94 kB / 0.5998 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4324, allocations: 8 kB / 0.5998 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.4327, allocations: 61.67 kB / 0.5999 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4337, allocations: 267.8 kB / 0.6001 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.4362, allocations: 2.625 MB / 0.6027 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000934/0.4371, allocations: 150.8 kB / 0.6028 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.4372, allocations: 47.98 kB / 0.6029 GB, free: 10.3 MB / 446.1 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.0005264/0.4377, allocations: 261.6 kB / 0.6031 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.4379, allocations: 103.3 kB / 0.6032 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.44, allocations: 1.107 MB / 0.6043 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.44, allocations: 8 kB / 0.6043 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.44, allocations: 4 kB / 0.6043 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.44, allocations: 3.984 kB / 0.6043 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/0.4441, allocations: 2.4 MB / 0.6067 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.4441, allocations: 8 kB / 0.6067 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007397/0.4448, allocations: 187.7 kB / 0.6069 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/0.4451, allocations: 57.67 kB / 0.6069 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.4451, allocations: 27.98 kB / 0.6069 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.4473, allocations: 2.615 MB / 0.6095 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/0.4474, allocations: 11.94 kB / 0.6095 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.4499, allocations: 1.493 MB / 0.611 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.4501, allocations: 119.2 kB / 0.6111 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.4503, allocations: 31.89 kB / 0.6111 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/0.4509, allocations: 52.03 kB / 0.6112 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.451, allocations: 88.34 kB / 0.6112 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.4511, allocations: 32 kB / 0.6113 GB, free: 1.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008305/0.4519, allocations: 0.581 MB / 0.6118 GB, free: 0.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4519, allocations: 0 / 0.6118 GB, free: 0.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009954/0.4529, allocations: 311.6 kB / 0.6121 GB, free: 328 kB / 446.1 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.000292/0.4532, allocations: 170.9 kB / 0.6123 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.4552, allocations: 1.055 MB / 0.6133 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4552, allocations: 4 kB / 0.6133 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009771/0.4562, allocations: 0.5892 MB / 0.6139 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007451/0.4569, allocations: 119.2 kB / 0.614 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.4602, allocations: 1.902 MB / 0.6159 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.4609, allocations: 1.02 MB / 0.6169 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.4613, allocations: 103.4 kB / 0.617 GB, free: 11.16 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4613, allocations: 0 / 0.617 GB, free: 11.16 MB / 462.1 MB Notification: Performance of Templates: time 0.0314/0.4927, allocations: 21.99 MB / 0.6384 GB, free: 5.145 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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: 9.251471434021369]