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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 216.9 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.281/0.281, allocations: 44.91 MB / 358.8 MB, free: 6.379 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 65.46 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009118/0.3163, allocations: 7.007 MB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.321, allocations: 2.292 MB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/0.3218, allocations: 23.94 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.3257, allocations: 1.524 MB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.329, allocations: 0.6951 MB / 0.5683 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.3311, allocations: 0.7253 MB / 0.569 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002193/0.3333, allocations: 1.148 MB / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.3351, allocations: 0.7685 MB / 0.5709 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009824/0.3361, allocations: 490.1 kB / 0.5713 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/0.337, allocations: 0.6068 MB / 0.5719 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.3373, allocations: 96 kB / 0.572 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008636/0.3381, allocations: 295.8 kB / 0.5723 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.3384, allocations: 243.1 kB / 0.5725 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007597/0.3392, allocations: 0.5558 MB / 0.5731 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.3414, allocations: 1.467 MB / 0.5745 GB, free: 5.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3414, allocations: 3.938 kB / 0.5745 GB, free: 5.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3414, allocations: 0 / 0.5745 GB, free: 5.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.086e-05/0.3414, allocations: 0 / 0.5745 GB, free: 5.809 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.00432/0.3458, allocations: 1.632 MB / 0.5761 GB, free: 4.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3458, allocations: 16.02 kB / 0.5761 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/0.346, allocations: 173.8 kB / 0.5763 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009502/0.3555, allocations: 1.257 MB / 0.5775 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.3566, allocations: 491.8 kB / 0.578 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/0.3567, allocations: 86.41 kB / 0.5781 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.357, allocations: 124 kB / 0.5782 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.3592, allocations: 1.156 MB / 0.5793 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.3592, allocations: 3.938 kB / 0.5793 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.3594, allocations: 52 kB / 0.5794 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.3594, allocations: 28 kB / 0.5794 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.3619, allocations: 1.38 MB / 0.5807 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007598/0.3695, allocations: 3.861 MB / 0.5845 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.3713, allocations: 0.8063 MB / 0.5853 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.3718, allocations: 323.8 kB / 0.5856 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.372, allocations: 40.95 kB / 0.5857 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.372, allocations: 47.55 kB / 0.5857 GB, free: 10.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.455e-06/0.372, allocations: 0 / 0.5857 GB, free: 10.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.002327/0.3743, allocations: 1.056 MB / 0.5867 GB, free: 9.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3744, allocations: 60.41 kB / 0.5868 GB, free: 9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3754, allocations: 0.7894 MB / 0.5876 GB, free: 8.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.3755, allocations: 41.7 kB / 0.5876 GB, free: 8.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.3759, allocations: 464.2 kB / 0.588 GB, free: 7.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.3761, allocations: 317.3 kB / 0.5883 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/0.3764, allocations: 198.8 kB / 0.5885 GB, free: 7.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3766, allocations: 398.7 kB / 0.5889 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/0.3773, allocations: 342.5 kB / 0.5892 GB, free: 6.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/0.3782, allocations: 0.5622 MB / 0.5898 GB, free: 5.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.3797, allocations: 0.9347 MB / 0.5907 GB, free: 4.758 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3797, allocations: 4 kB / 0.5907 GB, free: 4.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002205/0.3819, allocations: 1.139 MB / 0.5918 GB, free: 3.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.3819, allocations: 8 kB / 0.5918 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.382, allocations: 8 kB / 0.5918 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/0.3823, allocations: 65.92 kB / 0.5919 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.3833, allocations: 251.6 kB / 0.5921 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.3857, allocations: 2.621 MB / 0.5947 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008899/0.3866, allocations: 146.8 kB / 0.5948 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.905e-05/0.3867, allocations: 51.98 kB / 0.5949 GB, free: 232 kB / 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.0004695/0.3872, allocations: 245.7 kB / 0.5951 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.3873, allocations: 95.39 kB / 0.5952 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.3894, allocations: 1.095 MB / 0.5963 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.3894, allocations: 8 kB / 0.5963 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3894, allocations: 4 kB / 0.5963 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3894, allocations: 3.984 kB / 0.5963 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/0.3935, allocations: 2.341 MB / 0.5986 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.3935, allocations: 8 kB / 0.5986 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/0.3942, allocations: 179.8 kB / 0.5988 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.3945, allocations: 69.55 kB / 0.5988 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.3945, allocations: 24.28 kB / 0.5988 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.3969, allocations: 2.617 MB / 0.6014 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.3969, allocations: 4 kB / 0.6014 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.3993, allocations: 1.481 MB / 0.6029 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.3996, allocations: 119.2 kB / 0.603 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.3997, allocations: 24 kB / 0.603 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/0.4004, allocations: 52.03 kB / 0.603 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.4006, allocations: 88.34 kB / 0.6031 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.4006, allocations: 35.98 kB / 0.6032 GB, free: 7.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007729/0.4014, allocations: 0.5537 MB / 0.6037 GB, free: 6.688 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4014, allocations: 0 / 0.6037 GB, free: 6.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009855/0.4024, allocations: 287.6 kB / 0.604 GB, free: 6.406 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.002852/0.4052, allocations: 2.091 MB / 0.606 GB, free: 4.199 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.4073, allocations: 1.018 MB / 0.607 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.4073, allocations: 9.516 kB / 0.607 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009867/0.4083, allocations: 0.5952 MB / 0.6076 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000807/0.4091, allocations: 119.7 kB / 0.6077 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.4216, allocations: 8.088 MB / 0.6156 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.4223, allocations: 0.9883 MB / 0.6166 GB, free: 8.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005969/0.4229, allocations: 147.4 kB / 0.6167 GB, free: 8.691 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/0.4235, allocations: 359.3 kB / 0.6171 GB, free: 8.34 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4235, allocations: 0 / 0.6171 GB, free: 8.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06357/0.487, allocations: 19.88 MB / 0.6365 GB, free: 4.648 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.05, allocations: 3.562 kB / 0.6365 GB, free: 4.648 MB / 478.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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: 17.311015950981528]