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.00133/0.00133, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.001433/0.001433, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.422/1.422, allocations: 177.1 MB / 204.7 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] 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.2331/0.2331, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002485/0.002485, allocations: 87.86 kB / 443.2 MB, free: 6.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3053, allocations: 66.04 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006331/0.3117, allocations: 6.592 MB / 0.5037 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.3158, allocations: 2.225 MB / 0.5059 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007173/0.3165, allocations: 32.12 kB / 0.5059 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003388/0.3199, allocations: 1.707 MB / 0.5076 GB, free: 22.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.3219, allocations: 0.6919 MB / 0.5082 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.3233, allocations: 0.715 MB / 0.5089 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3244, allocations: 1.244 MB / 0.5102 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000967/0.3253, allocations: 0.8507 MB / 0.511 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004904/0.3258, allocations: 0.53 MB / 0.5115 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.3264, allocations: 0.5876 MB / 0.5121 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.3265, allocations: 106 kB / 0.5122 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005785/0.3271, allocations: 287.1 kB / 0.5125 GB, free: 20.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.3272, allocations: 267.1 kB / 0.5127 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.3277, allocations: 0.5017 MB / 0.5132 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.3296, allocations: 1.617 MB / 0.5148 GB, free: 19.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3296, allocations: 0 / 0.5148 GB, free: 19.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3296, allocations: 5.188 kB / 0.5148 GB, free: 19.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.175e-05/0.3296, allocations: 0 / 0.5148 GB, free: 19.2 MB / 446.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.004473/0.3341, allocations: 1.761 MB / 0.5165 GB, free: 18.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3341, allocations: 8.875 kB / 0.5165 GB, free: 18.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009875/0.344, allocations: 1.275 MB / 0.5178 GB, free: 18.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.346, allocations: 0.5001 MB / 0.5182 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.3461, allocations: 107.8 kB / 0.5184 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.3464, allocations: 137.5 kB / 0.5185 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.3488, allocations: 1.419 MB / 0.5199 GB, free: 16.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.751e-05/0.3489, allocations: 7.469 kB / 0.5199 GB, free: 16.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.349, allocations: 51.16 kB / 0.5199 GB, free: 16.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.349, allocations: 31.28 kB / 0.52 GB, free: 16.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.3515, allocations: 1.444 MB / 0.5214 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008032/0.3595, allocations: 3.606 MB / 0.5249 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.3613, allocations: 0.8133 MB / 0.5257 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.3619, allocations: 337.7 kB / 0.526 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.362, allocations: 41.03 kB / 0.526 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.362, allocations: 44.09 kB / 0.5261 GB, free: 13.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 2.885e-06/0.362, allocations: 0 / 0.5261 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002287/0.3643, allocations: 1.036 MB / 0.5271 GB, free: 13.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3643, allocations: 61.41 kB / 0.5272 GB, free: 13.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.3649, allocations: 0.511 MB / 0.5277 GB, free: 13.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.365, allocations: 42.33 kB / 0.5277 GB, free: 13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.3652, allocations: 0.5446 MB / 0.5282 GB, free: 12.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.3654, allocations: 326.2 kB / 0.5285 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.3657, allocations: 204.6 kB / 0.5287 GB, free: 12.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.3658, allocations: 376.2 kB / 0.5291 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.3664, allocations: 346.3 kB / 0.5294 GB, free: 11.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007579/0.3672, allocations: 0.6206 MB / 0.53 GB, free: 11.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.3686, allocations: 0.9899 MB / 0.531 GB, free: 10.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.3686, allocations: 2.812 kB / 0.531 GB, free: 10.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002074/0.3706, allocations: 1.167 MB / 0.5321 GB, free: 10.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3707, allocations: 9.625 kB / 0.5321 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3707, allocations: 8.25 kB / 0.5322 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.371, allocations: 72.27 kB / 0.5322 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.372, allocations: 264.8 kB / 0.5325 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.3735, allocations: 2.574 MB / 0.535 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/0.3743, allocations: 120.1 kB / 0.5351 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.3744, allocations: 49.12 kB / 0.5351 GB, free: 7.383 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.000404/0.3748, allocations: 263 kB / 0.5354 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.375, allocations: 63.95 kB / 0.5355 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.3768, allocations: 1.084 MB / 0.5365 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3768, allocations: 9.656 kB / 0.5365 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3768, allocations: 6.516 kB / 0.5365 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.3768, allocations: 4.219 kB / 0.5365 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.3803, allocations: 2.105 MB / 0.5386 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3803, allocations: 5.406 kB / 0.5386 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/0.3811, allocations: 181.2 kB / 0.5388 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.3813, allocations: 60.52 kB / 0.5388 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/0.3813, allocations: 35.02 kB / 0.5389 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.3828, allocations: 2.573 MB / 0.5414 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.3828, allocations: 11.28 kB / 0.5414 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.3849, allocations: 1.451 MB / 0.5428 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.3851, allocations: 81.55 kB / 0.5429 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3852, allocations: 33.47 kB / 0.5429 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.3858, allocations: 47 kB / 0.543 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.386, allocations: 88.22 kB / 0.543 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/0.386, allocations: 36.66 kB / 0.5431 GB, free: 1.828 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004365/0.3865, allocations: 354.8 kB / 0.5434 GB, free: 1.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3865, allocations: 0 / 0.5434 GB, free: 1.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001377/0.3879, allocations: 343.6 kB / 0.5437 GB, free: 1.559 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 (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.0002516/0.3881, allocations: 177.4 kB / 0.5439 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.3899, allocations: 1.046 MB / 0.5449 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.3899, allocations: 1.062 kB / 0.5449 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008374/0.3908, allocations: 0.591 MB / 0.5455 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.3914, allocations: 94.14 kB / 0.5456 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.3946, allocations: 1.856 MB / 0.5474 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.3952, allocations: 423.2 kB / 0.5478 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005419/0.3957, allocations: 128.8 kB / 0.5479 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.3959, allocations: 75.94 kB / 0.548 GB, free: 15.18 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3959, allocations: 0 / 0.548 GB, free: 15.18 MB / 462.1 MB Notification: Performance of Templates: time 0.01892/0.4148, allocations: 8.956 MB / 0.5568 GB, free: 7.367 MB / 462.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.6059006080031395]