Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.000773/0.000773, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008896/0.0008896, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9248/0.9248, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1384/0.1384, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.466e-05, allocations: 9.938 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01316/0.01318, allocations: 17.09 MB / 423.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009974/0.02316, allocations: 4.845 MB / 428.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/0.02714, allocations: 171.1 kB / 429 MB, free: 7.312 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1878/0.2149, allocations: 7.676 MB / 436.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007155/0.222, allocations: 2.223 MB / 438.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.2256, allocations: 1.396 MB / 440.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01256/0.2381, allocations: 12.81 MB / 453.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02413/0.2622, allocations: 16.83 MB / 469.9 MB, free: 1.809 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01946/0.2817, allocations: 9.89 MB / 479.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01236/0.2941, allocations: 6.637 MB / 486.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004947/0.299, allocations: 1.734 MB / 488.2 MB, free: 3.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006563/0.3056, allocations: 1.927 MB / 490.1 MB, free: 1.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005339/0.3109, allocations: 3.819 MB / 493.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008832/0.3197, allocations: 4.781 MB / 498.7 MB, free: 9.152 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02252/0.3423, allocations: 23.95 MB / 0.5104 GB, free: 1.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3423, allocations: 0 / 0.5104 GB, free: 1.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3423, allocations: 0 / 0.5104 GB, free: 1.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007394/0.343, allocations: 0 / 0.5104 GB, free: 1.867 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.03314/0.3762, allocations: 14.88 MB / 0.5249 GB, free: 3.016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.3762, allocations: 12.03 kB / 0.5249 GB, free: 3.004 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00762/0.3838, allocations: 1.754 MB / 0.5266 GB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/0.4181, allocations: 12.48 MB / 0.5388 GB, free: 4.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/0.4321, allocations: 6.759 MB / 0.5454 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006241/0.4327, allocations: 0.9064 MB / 0.5463 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003086/0.4358, allocations: 1.192 MB / 0.5475 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03058/0.4664, allocations: 19.58 MB / 0.5666 GB, free: 8.605 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002002/0.4666, allocations: 19.89 kB / 0.5666 GB, free: 8.586 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009117/0.4675, allocations: 0.499 MB / 0.5671 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00042/0.4679, allocations: 0.6856 MB / 0.5678 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.024/0.4919, allocations: 19.73 MB / 0.587 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4063/0.8982, allocations: 56.1 MB / 0.6418 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/0.9135, allocations: 11.44 MB / 0.653 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005342/0.9188, allocations: 4.307 MB / 0.6572 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/0.9192, allocations: 134.5 kB / 0.6573 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.59e-05/0.9193, allocations: 104.4 kB / 0.6574 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=674): time 8.055e-06/0.9193, allocations: 0 / 0.6574 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=674): time 0.01657/0.9359, allocations: 12.14 MB / 0.6693 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.936, allocations: 124.7 kB / 0.6694 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/0.9464, allocations: 8.846 MB / 0.678 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/0.9476, allocations: 142 kB / 0.6782 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002597/0.9502, allocations: 4.717 MB / 0.6828 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002558/0.9528, allocations: 2.339 MB / 0.6851 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/0.9548, allocations: 1.504 MB / 0.6865 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.9548, allocations: 301.1 kB / 0.6868 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004353/0.9591, allocations: 4.193 MB / 0.6909 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005916/0.9651, allocations: 7.228 MB / 0.698 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/0.9772, allocations: 12.4 MB / 0.7101 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/0.9773, allocations: 28 kB / 0.7101 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01793/0.9952, allocations: 12.44 MB / 0.7223 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.9953, allocations: 48 kB / 0.7223 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/0.9955, allocations: 100 kB / 0.7224 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006779/0.9961, allocations: 421.5 kB / 0.7228 GB, free: 79.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004737/1.001, allocations: 2.098 MB / 0.7249 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/1.004, allocations: 8.945 MB / 0.7336 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00606/1.01, allocations: 1.442 MB / 0.735 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/1.012, allocations: 400 kB / 0.7354 GB, free: 66.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.007608/1.02, allocations: 4.659 MB / 0.7399 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/1.021, allocations: 0.7529 MB / 0.7407 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.032, allocations: 11.04 MB / 0.7515 GB, free: 49.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/1.032, allocations: 68 kB / 0.7515 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.032, allocations: 4 kB / 0.7515 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-05/1.032, allocations: 35.86 kB / 0.7516 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3146/1.347, allocations: 153.5 MB / 0.9014 GB, free: 134 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001853/1.347, allocations: 88 kB / 0.9015 GB, free: 134 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003602/1.35, allocations: 1.572 MB / 0.903 GB, free: 132.4 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005855/1.351, allocations: 388.7 kB / 0.9034 GB, free: 132 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007716/1.352, allocations: 248 kB / 0.9036 GB, free: 131.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/1.355, allocations: 8.817 MB / 0.9123 GB, free: 122.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.348e-05/1.355, allocations: 135.4 kB / 0.9124 GB, free: 122.2 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/1.371, allocations: 18.72 MB / 0.9307 GB, free: 101.8 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005112/1.376, allocations: 2.081 MB / 0.9327 GB, free: 99.93 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001942/1.378, allocations: 252.7 kB / 0.9329 GB, free: 99.68 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004348/1.382, allocations: 0.5638 MB / 0.9335 GB, free: 99.12 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/1.383, allocations: 0.769 MB / 0.9342 GB, free: 98.35 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004451/1.384, allocations: 316 kB / 0.9345 GB, free: 98.04 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.007269/1.391, allocations: 6.109 MB / 0.9405 GB, free: 91.95 MB / 0.5418 GB Notification: Performance of sort global known variables: time 4e-08/1.391, allocations: 0 / 0.9405 GB, free: 91.95 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.009377/1.4, allocations: 2.708 MB / 0.9432 GB, free: 89.44 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_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 (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.01778/1.418, allocations: 19.62 MB / 0.9623 GB, free: 67.75 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.43, allocations: 10.52 MB / 0.9726 GB, free: 57.15 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 7.857e-05/1.43, allocations: 19.78 kB / 0.9726 GB, free: 57.13 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.006394/1.437, allocations: 5.328 MB / 0.9778 GB, free: 51.74 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01082/1.448, allocations: 1.501 MB / 0.9793 GB, free: 50.27 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3522/1.8, allocations: 102.1 MB / 1.079 GB, free: 161.7 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/1.811, allocations: 7.471 MB / 1.086 GB, free: 159.4 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.008082/1.819, allocations: 3.646 MB / 1.09 GB, free: 159.1 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006116/1.825, allocations: 4.235 MB / 1.094 GB, free: 155.7 MB / 0.5574 GB Notification: Performance of SimCode: time 1.553e-06/1.825, allocations: 0 / 1.094 GB, free: 155.7 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3368/2.162, allocations: 196.6 MB / 1.286 GB, free: 160.9 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/18.24, allocations: 8.281 kB / 1.286 GB, free: 160.9 MB / 0.5574 GB " [Timeout remaining time 642] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.48265080526471]