Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 194 kB / 22.98 MB, free: 5.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2514/0.2514, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 60.08 kB / 495.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3705, allocations: 64.26 MB / 0.5464 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009612/0.3801, allocations: 6.984 MB / 0.5532 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005773/0.3859, allocations: 2.231 MB / 0.5554 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.3872, allocations: 25.47 kB / 0.5554 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004215/0.3914, allocations: 1.526 MB / 0.5569 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.395, allocations: 0.8394 MB / 0.5577 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.3967, allocations: 0.582 MB / 0.5583 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.3988, allocations: 1.151 MB / 0.5594 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.4, allocations: 0.609 MB / 0.56 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007559/0.4007, allocations: 482.1 kB / 0.5605 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007041/0.4014, allocations: 0.5913 MB / 0.561 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.4016, allocations: 92 kB / 0.5611 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008382/0.4024, allocations: 287.8 kB / 0.5614 GB, free: 412 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.4027, allocations: 255 kB / 0.5617 GB, free: 156 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005953/0.4033, allocations: 0.5519 MB / 0.5622 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.4056, allocations: 1.473 MB / 0.5636 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4056, allocations: 0 / 0.5636 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4056, allocations: 0 / 0.5636 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.4056, allocations: 0 / 0.5636 GB, free: 14.12 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004235/0.4098, allocations: 1.711 MB / 0.5653 GB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4099, allocations: 8.031 kB / 0.5653 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009332/0.4192, allocations: 1.323 MB / 0.5666 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.4206, allocations: 0.5374 MB / 0.5671 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-05/0.4207, allocations: 90.41 kB / 0.5672 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.4209, allocations: 123.9 kB / 0.5673 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.4233, allocations: 1.137 MB / 0.5684 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/0.4233, allocations: 11.98 kB / 0.5685 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.4235, allocations: 44 kB / 0.5685 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.4235, allocations: 32 kB / 0.5685 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.426, allocations: 1.368 MB / 0.5699 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008144/0.4341, allocations: 4.652 MB / 0.5744 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.436, allocations: 0.871 MB / 0.5753 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/0.4367, allocations: 331.7 kB / 0.5756 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.4369, allocations: 102.1 kB / 0.5757 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.4369, allocations: 51.44 kB / 0.5757 GB, free: 1.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.416e-06/0.4369, allocations: 0 / 0.5757 GB, free: 1.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.00243/0.4394, allocations: 1.195 MB / 0.5769 GB, free: 32 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.4394, allocations: 64.34 kB / 0.5769 GB, free: 15.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.4405, allocations: 0.7855 MB / 0.5777 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.42e-05/0.4406, allocations: 41.7 kB / 0.5778 GB, free: 15.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.441, allocations: 472.2 kB / 0.5782 GB, free: 14.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.4413, allocations: 321.2 kB / 0.5785 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.4416, allocations: 186.9 kB / 0.5787 GB, free: 14.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.4419, allocations: 394.7 kB / 0.5791 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.4425, allocations: 338.5 kB / 0.5794 GB, free: 13.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008832/0.4434, allocations: 0.5622 MB / 0.5799 GB, free: 12.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.445, allocations: 0.9231 MB / 0.5808 GB, free: 11.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.445, allocations: 4 kB / 0.5808 GB, free: 11.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002223/0.4472, allocations: 1.119 MB / 0.5819 GB, free: 10.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.4472, allocations: 11.94 kB / 0.5819 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4472, allocations: 8.672 kB / 0.582 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.4476, allocations: 65.69 kB / 0.582 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.4485, allocations: 247.6 kB / 0.5823 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.4512, allocations: 2.828 MB / 0.585 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009884/0.4522, allocations: 150.8 kB / 0.5852 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/0.4523, allocations: 40 kB / 0.5852 GB, free: 6.984 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0004963/0.4528, allocations: 249.7 kB / 0.5854 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.453, allocations: 95.38 kB / 0.5855 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.4551, allocations: 1.102 MB / 0.5866 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4551, allocations: 12 kB / 0.5866 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4551, allocations: 0 / 0.5866 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4551, allocations: 3.984 kB / 0.5866 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/0.4595, allocations: 2.697 MB / 0.5892 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.4595, allocations: 8.078 kB / 0.5893 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/0.4602, allocations: 183.7 kB / 0.5894 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/0.4605, allocations: 61.61 kB / 0.5895 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.379e-05/0.4605, allocations: 27.98 kB / 0.5895 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.4629, allocations: 2.82 MB / 0.5923 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/0.4629, allocations: 16.09 kB / 0.5923 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.4654, allocations: 1.461 MB / 0.5937 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.4658, allocations: 200.2 kB / 0.5939 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.4659, allocations: 27.94 kB / 0.5939 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/0.4665, allocations: 56.03 kB / 0.594 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.4667, allocations: 72.36 kB / 0.5941 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.4667, allocations: 39.92 kB / 0.5941 GB, free: 13.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007784/0.4675, allocations: 0.5537 MB / 0.5946 GB, free: 12.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4675, allocations: 4 kB / 0.5946 GB, free: 12.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001025/0.4685, allocations: 287.6 kB / 0.5949 GB, free: 12.35 MB / 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 (92): * Single equations (assignments): 90 * 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.0003156/0.4689, allocations: 176.5 kB / 0.5951 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.471, allocations: 1.015 MB / 0.5961 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.471, allocations: 8.062 kB / 0.5961 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009855/0.472, allocations: 0.5876 MB / 0.5967 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.4728, allocations: 126.8 kB / 0.5968 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.4762, allocations: 1.792 MB / 0.5985 GB, free: 8.496 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009203/0.4771, allocations: 0.9883 MB / 0.5995 GB, free: 7.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005437/0.4777, allocations: 143.4 kB / 0.5996 GB, free: 7.336 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.478, allocations: 79.41 kB / 0.5997 GB, free: 7.258 MB / 446.1 MB Notification: Performance of SimCode: time 1.382e-06/0.478, allocations: 0 / 0.5997 GB, free: 7.258 MB / 446.1 MB Notification: Performance of Templates: time 0.02104/0.499, allocations: 10.83 MB / 0.6103 GB, free: 12.48 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.782082885503769]