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.001785/0.001785, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001745/0.001745, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.406/1.406, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.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.2265/0.2265, allocations: 46.94 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 75.88 kB / 0.4969 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3013, allocations: 66.08 MB / 0.5614 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009147/0.3105, allocations: 6.577 MB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005499/0.3159, allocations: 2.21 MB / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.3165, allocations: 27.94 kB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.3204, allocations: 1.621 MB / 0.5716 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.3224, allocations: 0.6983 MB / 0.5723 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.3239, allocations: 0.7155 MB / 0.573 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.3253, allocations: 1.245 MB / 0.5742 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.3266, allocations: 0.875 MB / 0.5751 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.3272, allocations: 0.5215 MB / 0.5756 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007924/0.328, allocations: 0.6691 MB / 0.5762 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.3282, allocations: 107.9 kB / 0.5763 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006702/0.3288, allocations: 299.8 kB / 0.5766 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.3291, allocations: 271 kB / 0.5769 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005468/0.3296, allocations: 0.4977 MB / 0.5774 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.3317, allocations: 1.622 MB / 0.579 GB, free: 2.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3317, allocations: 0 / 0.579 GB, free: 2.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3317, allocations: 0 / 0.579 GB, free: 2.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.3317, allocations: 3.938 kB / 0.579 GB, free: 2.027 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.004597/0.3363, allocations: 1.757 MB / 0.5807 GB, free: 240 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.3364, allocations: 12.02 kB / 0.5807 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.731e-05/0.3364, allocations: 34.84 kB / 0.5807 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002466/0.3367, allocations: 194.7 kB / 0.5809 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009239/0.3459, allocations: 1.272 MB / 0.5821 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.347, allocations: 0.504 MB / 0.5826 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.3471, allocations: 102.8 kB / 0.5827 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.3473, allocations: 135.9 kB / 0.5829 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.3498, allocations: 1.421 MB / 0.5843 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.3498, allocations: 4 kB / 0.5843 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.3499, allocations: 52 kB / 0.5843 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.35, allocations: 36 kB / 0.5843 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.3524, allocations: 1.463 MB / 0.5858 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007667/0.3601, allocations: 3.862 MB / 0.5895 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3619, allocations: 0.8113 MB / 0.5903 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/0.3625, allocations: 338.4 kB / 0.5907 GB, free: 5.789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.3626, allocations: 32.97 kB / 0.5907 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.3627, allocations: 43.56 kB / 0.5907 GB, free: 5.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.805e-06/0.3627, allocations: 0 / 0.5907 GB, free: 5.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002319/0.365, allocations: 1.064 MB / 0.5918 GB, free: 4.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3651, allocations: 60.41 kB / 0.5918 GB, free: 4.562 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.3661, allocations: 0.8247 MB / 0.5926 GB, free: 3.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.3661, allocations: 41.7 kB / 0.5927 GB, free: 3.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.3665, allocations: 0.5117 MB / 0.5932 GB, free: 3.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.3668, allocations: 329.2 kB / 0.5935 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/0.3671, allocations: 198.8 kB / 0.5937 GB, free: 2.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.3674, allocations: 398.7 kB / 0.5941 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/0.368, allocations: 350.5 kB / 0.5944 GB, free: 1.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008984/0.3689, allocations: 0.627 MB / 0.595 GB, free: 1.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.3705, allocations: 0.9875 MB / 0.596 GB, free: 48 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.3705, allocations: 4 kB / 0.596 GB, free: 44 kB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002464/0.3729, allocations: 1.198 MB / 0.5971 GB, free: 14.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.373, allocations: 8 kB / 0.5971 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.373, allocations: 16 kB / 0.5972 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.3733, allocations: 69.67 kB / 0.5972 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.3743, allocations: 259.6 kB / 0.5975 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.377, allocations: 2.613 MB / 0.6 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.378, allocations: 158.7 kB / 0.6002 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/0.3781, allocations: 48 kB / 0.6002 GB, free: 11.43 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.000483/0.3786, allocations: 265.8 kB / 0.6005 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.3787, allocations: 99.33 kB / 0.6006 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.3808, allocations: 1.095 MB / 0.6016 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3808, allocations: 8 kB / 0.6017 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3808, allocations: 7.938 kB / 0.6017 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.3808, allocations: 3.984 kB / 0.6017 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.3845, allocations: 2.221 MB / 0.6038 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.3846, allocations: 11.98 kB / 0.6038 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007601/0.3853, allocations: 187.7 kB / 0.604 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.3855, allocations: 61.67 kB / 0.6041 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.3856, allocations: 24 kB / 0.6041 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.3879, allocations: 2.606 MB / 0.6067 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.388, allocations: 11.92 kB / 0.6067 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.3904, allocations: 1.493 MB / 0.6081 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.3906, allocations: 123.1 kB / 0.6082 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.3907, allocations: 27.95 kB / 0.6083 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/0.3914, allocations: 55.97 kB / 0.6083 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.3915, allocations: 88.34 kB / 0.6084 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.3916, allocations: 36 kB / 0.6084 GB, free: 2.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007838/0.3924, allocations: 0.5771 MB / 0.609 GB, free: 1.945 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3924, allocations: 0 / 0.609 GB, free: 1.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001033/0.3934, allocations: 311.6 kB / 0.6093 GB, free: 1.641 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.002793/0.3962, allocations: 2.091 MB / 0.6113 GB, free: 15.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.3981, allocations: 1.051 MB / 0.6124 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3981, allocations: 0 / 0.6124 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.3991, allocations: 0.5914 MB / 0.6129 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.3998, allocations: 127.1 kB / 0.6131 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.412, allocations: 8.471 MB / 0.6213 GB, free: 4.645 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.4125, allocations: 424.3 kB / 0.6217 GB, free: 4.199 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005694/0.413, allocations: 151.8 kB / 0.6219 GB, free: 4.047 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/0.4136, allocations: 399.2 kB / 0.6223 GB, free: 3.656 MB / 462.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4136, allocations: 0 / 0.6223 GB, free: 3.656 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.057/0.4706, allocations: 21.05 MB / 0.6428 GB, free: 14.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.26, allocations: 6.172 kB / 0.6428 GB, free: 14.84 MB / 494.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] 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: 16.653899581055157]