Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 107.8 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 189.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2633/0.2633, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 71.89 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1649, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00781/0.1728, allocations: 6.917 MB / 0.4942 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.1774, allocations: 2.194 MB / 0.4963 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008286/0.1782, allocations: 23.94 kB / 0.4963 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003445/0.1818, allocations: 1.52 MB / 0.4978 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.1842, allocations: 0.8587 MB / 0.4986 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.1855, allocations: 0.5803 MB / 0.4992 GB, free: 172 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.1868, allocations: 1.186 MB / 0.5004 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.188, allocations: 0.8159 MB / 0.5012 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007566/0.1888, allocations: 494 kB / 0.5016 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.1895, allocations: 0.6147 MB / 0.5022 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1897, allocations: 96 kB / 0.5023 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007322/0.1904, allocations: 283.8 kB / 0.5026 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.1906, allocations: 259 kB / 0.5028 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.1912, allocations: 0.5635 MB / 0.5034 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.193, allocations: 1.475 MB / 0.5048 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.193, allocations: 0 / 0.5048 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.193, allocations: 0 / 0.5048 GB, free: 10.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.1931, allocations: 4 kB / 0.5048 GB, free: 10.36 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004562/0.1976, allocations: 1.716 MB / 0.5065 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.774e-05/0.1977, allocations: 11.89 kB / 0.5065 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/0.198, allocations: 186.1 kB / 0.5067 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.2082, allocations: 1.424 MB / 0.5081 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.2097, allocations: 0.5443 MB / 0.5086 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.646e-05/0.2098, allocations: 90.48 kB / 0.5087 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.2101, allocations: 132 kB / 0.5088 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.2123, allocations: 1.185 MB / 0.51 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.2124, allocations: 3.906 kB / 0.51 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.2125, allocations: 52 kB / 0.51 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.2125, allocations: 32 kB / 0.5101 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.2148, allocations: 1.439 MB / 0.5115 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007628/0.2224, allocations: 4.802 MB / 0.5162 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.2243, allocations: 1.194 MB / 0.5173 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/0.2249, allocations: 376.2 kB / 0.5177 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.225, allocations: 102.1 kB / 0.5178 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2251, allocations: 43.56 kB / 0.5178 GB, free: 12.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 4.548e-06/0.2251, allocations: 0 / 0.5178 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002284/0.2274, allocations: 1.198 MB / 0.519 GB, free: 11.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.2275, allocations: 64.41 kB / 0.5191 GB, free: 11.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009614/0.2284, allocations: 0.801 MB / 0.5198 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.2285, allocations: 45.69 kB / 0.5199 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.2288, allocations: 478.7 kB / 0.5203 GB, free: 9.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.2291, allocations: 315.5 kB / 0.5207 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.2294, allocations: 198.8 kB / 0.5208 GB, free: 9.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2295, allocations: 398.7 kB / 0.5212 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.2301, allocations: 338.5 kB / 0.5215 GB, free: 8.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008088/0.231, allocations: 0.6062 MB / 0.5221 GB, free: 7.871 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.2324, allocations: 0.975 MB / 0.5231 GB, free: 6.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.2324, allocations: 4 kB / 0.5231 GB, free: 6.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001974/0.2344, allocations: 1.174 MB / 0.5242 GB, free: 5.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.2344, allocations: 8 kB / 0.5242 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.2344, allocations: 12.06 kB / 0.5243 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/0.2347, allocations: 65.67 kB / 0.5243 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009799/0.2357, allocations: 259.6 kB / 0.5246 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.2379, allocations: 2.832 MB / 0.5273 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009366/0.2389, allocations: 158.4 kB / 0.5275 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/0.239, allocations: 51.98 kB / 0.5275 GB, free: 1.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.0004552/0.2394, allocations: 257.4 kB / 0.5278 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.2396, allocations: 86.97 kB / 0.5279 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.2415, allocations: 1.11 MB / 0.5289 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.2415, allocations: 8 kB / 0.529 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2416, allocations: 7.938 kB / 0.529 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.2416, allocations: 3.984 kB / 0.529 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2718/0.5134, allocations: 2.709 MB / 0.5316 GB, free: 37.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.5135, allocations: 8.5 kB / 0.5316 GB, free: 37.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/0.5143, allocations: 182.5 kB / 0.5318 GB, free: 37.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/0.5146, allocations: 63.11 kB / 0.5319 GB, free: 37.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/0.5147, allocations: 25.84 kB / 0.5319 GB, free: 37.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.5167, allocations: 2.827 MB / 0.5346 GB, free: 35.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/0.5168, allocations: 13.62 kB / 0.5347 GB, free: 35.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.5194, allocations: 1.476 MB / 0.5361 GB, free: 34.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.5198, allocations: 195.9 kB / 0.5363 GB, free: 34.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.5199, allocations: 24.41 kB / 0.5363 GB, free: 34.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.5206, allocations: 55.86 kB / 0.5364 GB, free: 34.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/0.5209, allocations: 83.72 kB / 0.5364 GB, free: 34.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/0.521, allocations: 39.02 kB / 0.5365 GB, free: 34.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001218/0.5222, allocations: 0.5639 MB / 0.537 GB, free: 34.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5222, allocations: 0 / 0.537 GB, free: 34.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001514/0.5238, allocations: 295.7 kB / 0.5373 GB, free: 34.37 MB / 414.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 (94): * Single equations (assignments): 92 * 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.002809/0.5266, allocations: 2.084 MB / 0.5393 GB, free: 33.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.5293, allocations: 1.096 MB / 0.5404 GB, free: 32.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/0.5294, allocations: 2.562 kB / 0.5404 GB, free: 32.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.5306, allocations: 0.6242 MB / 0.541 GB, free: 32.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.5318, allocations: 123.6 kB / 0.5411 GB, free: 32.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.5459, allocations: 8.276 MB / 0.5492 GB, free: 27.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/0.5468, allocations: 0.9955 MB / 0.5502 GB, free: 26.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007437/0.5475, allocations: 152.8 kB / 0.5503 GB, free: 26.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/0.5481, allocations: 364.7 kB / 0.5507 GB, free: 26.36 MB / 414.1 MB Notification: Performance of SimCode: time 1.793e-06/0.5481, allocations: 1.219 kB / 0.5507 GB, free: 26.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05428/0.6024, allocations: 19.49 MB / 0.5697 GB, free: 16.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.6, allocations: 3.938 kB / 0.5697 GB, free: 16.49 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches