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.00192/0.00192, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.002347/0.002347, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.423/1.423, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2203/0.2203, allocations: 46.89 MB / 361.1 MB, free: 4.652 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.00229/0.00229, allocations: 83.84 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3161, allocations: 65.99 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00959/0.3257, allocations: 7.549 MB / 0.5686 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004535/0.3302, allocations: 2.369 MB / 0.5709 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/0.3306, allocations: 24 kB / 0.5709 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004049/0.3347, allocations: 1.761 MB / 0.5726 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.3367, allocations: 0.7061 MB / 0.5733 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.3383, allocations: 0.7396 MB / 0.5741 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.3398, allocations: 1.253 MB / 0.5753 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.3411, allocations: 0.7192 MB / 0.576 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007712/0.3419, allocations: 0.5097 MB / 0.5765 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007868/0.3427, allocations: 0.6614 MB / 0.5771 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3428, allocations: 112 kB / 0.5772 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006595/0.3435, allocations: 303.8 kB / 0.5775 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.3438, allocations: 271 kB / 0.5778 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005362/0.3443, allocations: 0.6102 MB / 0.5784 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.3461, allocations: 1.611 MB / 0.5799 GB, free: 1.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3461, allocations: 0 / 0.5799 GB, free: 1.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3461, allocations: 0 / 0.5799 GB, free: 1.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.3461, allocations: 0 / 0.5799 GB, free: 1.766 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.00459/0.3507, allocations: 1.833 MB / 0.5817 GB, free: 15.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3507, allocations: 12.02 kB / 0.5817 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009506/0.3602, allocations: 1.272 MB / 0.583 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.3614, allocations: 0.5687 MB / 0.5835 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/0.3615, allocations: 99.03 kB / 0.5836 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.3617, allocations: 144.1 kB / 0.5838 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.3642, allocations: 1.242 MB / 0.585 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.3642, allocations: 7.984 kB / 0.585 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.3644, allocations: 55.94 kB / 0.585 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.3644, allocations: 32 kB / 0.5851 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.367, allocations: 1.459 MB / 0.5865 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009294/0.3763, allocations: 5.811 MB / 0.5922 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.3783, allocations: 1.048 MB / 0.5932 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.3789, allocations: 332.2 kB / 0.5935 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.3791, allocations: 191.2 kB / 0.5937 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.3792, allocations: 47.55 kB / 0.5937 GB, free: 2.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.855e-06/0.3792, allocations: 0 / 0.5937 GB, free: 2.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002491/0.3816, allocations: 1.207 MB / 0.5949 GB, free: 1.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3817, allocations: 60.41 kB / 0.595 GB, free: 1.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.3829, allocations: 0.8287 MB / 0.5958 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.3829, allocations: 41.7 kB / 0.5958 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.3834, allocations: 0.5117 MB / 0.5963 GB, free: 184 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.3837, allocations: 321.2 kB / 0.5966 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.384, allocations: 206.8 kB / 0.5968 GB, free: 15.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.3843, allocations: 406.7 kB / 0.5972 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007044/0.385, allocations: 346.5 kB / 0.5976 GB, free: 14.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009317/0.3859, allocations: 0.6222 MB / 0.5982 GB, free: 14.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.3875, allocations: 0.9953 MB / 0.5991 GB, free: 13.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.3876, allocations: 4 kB / 0.5991 GB, free: 13.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002494/0.39, allocations: 1.194 MB / 0.6003 GB, free: 11.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.3901, allocations: 11.98 kB / 0.6003 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.3901, allocations: 16 kB / 0.6003 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003489/0.3904, allocations: 61.69 kB / 0.6004 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3915, allocations: 259.6 kB / 0.6006 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.3942, allocations: 2.829 MB / 0.6034 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/0.3952, allocations: 166.8 kB / 0.6036 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/0.3953, allocations: 51.98 kB / 0.6036 GB, free: 8.176 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.0004756/0.3958, allocations: 260.9 kB / 0.6039 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.396, allocations: 99.33 kB / 0.6039 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.3981, allocations: 1.099 MB / 0.605 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.3981, allocations: 3.984 kB / 0.605 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3981, allocations: 7.984 kB / 0.605 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.3984, allocations: 192.2 kB / 0.6052 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.3986, allocations: 16 kB / 0.6052 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.3992, allocations: 51.91 kB / 0.6053 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3993, allocations: 60.86 kB / 0.6053 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001998/0.4013, allocations: 0.9093 MB / 0.6062 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002179/0.4035, allocations: 1.313 MB / 0.6075 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000531/0.404, allocations: 299.9 kB / 0.6078 GB, free: 3.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008554/0.4049, allocations: 0.581 MB / 0.6084 GB, free: 3.219 MB / 446.1 MB Notification: Performance of Backend: time 7.02e-07/0.4049, allocations: 0 / 0.6084 GB, free: 3.219 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.4074, allocations: 0.9709 MB / 0.6093 GB, free: 2.215 MB / 446.1 MB Notification: Performance of SimCode: time 0.003559/0.411, allocations: 2.018 MB / 0.6113 GB, free: 148 kB / 446.1 MB Notification: Performance of Templates: time 0.03044/0.4414, allocations: 16.09 MB / 0.627 GB, free: 104 kB / 462.1 MB " [Timeout remaining time 660] 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.479149790015072]