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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.2 MB / 250.9 MB, free: 8.762 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2421/0.2421, allocations: 46.88 MB / 351.8 MB, free: 7.328 MB / 286.1 MB 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.002263/0.002263, allocations: 79.86 kB / 496.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3434, allocations: 65.97 MB / 0.5493 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009236/0.3527, allocations: 7.53 MB / 0.5566 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004852/0.3575, allocations: 2.365 MB / 0.5589 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000519/0.358, allocations: 24 kB / 0.559 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.3619, allocations: 1.761 MB / 0.5607 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.3638, allocations: 0.6979 MB / 0.5614 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3654, allocations: 0.759 MB / 0.5621 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.3669, allocations: 1.249 MB / 0.5633 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.368, allocations: 0.7158 MB / 0.564 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.3686, allocations: 0.502 MB / 0.5645 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007398/0.3694, allocations: 0.6691 MB / 0.5652 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.3695, allocations: 111.9 kB / 0.5653 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006495/0.3702, allocations: 303.8 kB / 0.5656 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.3704, allocations: 271 kB / 0.5658 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005536/0.371, allocations: 0.6024 MB / 0.5664 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.3729, allocations: 1.615 MB / 0.568 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3729, allocations: 4 kB / 0.568 GB, free: 2.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3729, allocations: 0 / 0.568 GB, free: 2.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.3729, allocations: 0 / 0.568 GB, free: 2.254 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.004436/0.3774, allocations: 1.833 MB / 0.5698 GB, free: 376 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3774, allocations: 12.03 kB / 0.5698 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00902/0.3864, allocations: 1.268 MB / 0.571 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.3879, allocations: 0.5688 MB / 0.5716 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.842e-05/0.3879, allocations: 95.03 kB / 0.5717 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.3882, allocations: 144.1 kB / 0.5718 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.3907, allocations: 1.249 MB / 0.573 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.3907, allocations: 4 kB / 0.573 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.3908, allocations: 56 kB / 0.5731 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.3909, allocations: 32 kB / 0.5731 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.3934, allocations: 1.459 MB / 0.5745 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008496/0.4019, allocations: 5.815 MB / 0.5802 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.4038, allocations: 1.048 MB / 0.5812 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.4044, allocations: 336.2 kB / 0.5816 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.4045, allocations: 195.2 kB / 0.5818 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.4046, allocations: 47.55 kB / 0.5818 GB, free: 3.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.707e-06/0.4046, allocations: 0 / 0.5818 GB, free: 3.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002414/0.407, allocations: 1.207 MB / 0.583 GB, free: 2.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.4071, allocations: 60.41 kB / 0.583 GB, free: 2.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.4081, allocations: 0.8248 MB / 0.5838 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/0.4082, allocations: 45.7 kB / 0.5839 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.4086, allocations: 0.5117 MB / 0.5844 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.4089, allocations: 325.2 kB / 0.5847 GB, free: 348 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.4092, allocations: 198.8 kB / 0.5849 GB, free: 140 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.4094, allocations: 402.7 kB / 0.5853 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.4101, allocations: 346.5 kB / 0.5856 GB, free: 15.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.4111, allocations: 0.6186 MB / 0.5862 GB, free: 14.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4127, allocations: 1.003 MB / 0.5872 GB, free: 13.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.4127, allocations: 0 / 0.5872 GB, free: 13.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002145/0.4148, allocations: 1.198 MB / 0.5884 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4149, allocations: 15.88 kB / 0.5884 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.4149, allocations: 8 kB / 0.5884 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.4152, allocations: 65.97 kB / 0.5884 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.4161, allocations: 271.5 kB / 0.5887 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.4186, allocations: 2.822 MB / 0.5915 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000834/0.4194, allocations: 158.7 kB / 0.5916 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/0.4195, allocations: 55.98 kB / 0.5917 GB, free: 8.66 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.000455/0.4199, allocations: 257.2 kB / 0.5919 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.4201, allocations: 99.33 kB / 0.592 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.4221, allocations: 1.103 MB / 0.5931 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4221, allocations: 12 kB / 0.5931 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4221, allocations: 0 / 0.5931 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.4221, allocations: 7.969 kB / 0.5931 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/0.4263, allocations: 3.167 MB / 0.5962 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.4263, allocations: 8 kB / 0.5962 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/0.427, allocations: 187.7 kB / 0.5964 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/0.4272, allocations: 58.03 kB / 0.5964 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.4273, allocations: 31.98 kB / 0.5965 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.4296, allocations: 2.828 MB / 0.5992 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.4297, allocations: 7.938 kB / 0.5992 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.4321, allocations: 1.493 MB / 0.6007 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.4323, allocations: 196.3 kB / 0.6009 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.4325, allocations: 27.94 kB / 0.6009 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.4331, allocations: 52.05 kB / 0.6009 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.4332, allocations: 88.22 kB / 0.601 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.4333, allocations: 35.98 kB / 0.6011 GB, free: 14.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008159/0.4341, allocations: 0.5771 MB / 0.6016 GB, free: 13.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4341, allocations: 0 / 0.6016 GB, free: 13.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001032/0.4351, allocations: 311.6 kB / 0.6019 GB, free: 13.38 MB / 462.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.0003054/0.4354, allocations: 178.9 kB / 0.6021 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.4374, allocations: 1.046 MB / 0.6031 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4374, allocations: 4 kB / 0.6031 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.4384, allocations: 0.5967 MB / 0.6037 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.4391, allocations: 119.2 kB / 0.6038 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.4423, allocations: 1.865 MB / 0.6056 GB, free: 9.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.443, allocations: 1.012 MB / 0.6066 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005268/0.4435, allocations: 155.8 kB / 0.6068 GB, free: 8.215 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.4437, allocations: 95.41 kB / 0.6069 GB, free: 8.125 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4437, allocations: 0 / 0.6069 GB, free: 8.125 MB / 462.1 MB Notification: Performance of Templates: time 0.02055/0.4643, allocations: 11.16 MB / 0.6178 GB, free: 13.02 MB / 478.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/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] Reference file matches