Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 109.4 kB / 17.04 MB, free: 5.809 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.001943/0.001943, allocations: 195 kB / 17.98 MB, free: 5.027 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.459/1.459, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2061/0.2061, allocations: 43.52 MB / 314.7 MB, free: 488 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.001537/0.001537, allocations: 69.05 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.0954, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003879/0.09931, allocations: 3.411 MB / 445.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1008, allocations: 0.8265 MB / 446.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.1012, allocations: 15.94 kB / 446.2 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.1014, allocations: 71.3 kB / 446.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.1017, allocations: 126.8 kB / 446.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.1021, allocations: 139.7 kB / 446.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.1025, allocations: 0.514 MB / 447.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.1028, allocations: 249.8 kB / 447.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.103, allocations: 207.3 kB / 447.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.1033, allocations: 235 kB / 447.7 MB, free: 356 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.1034, allocations: 48 kB / 447.8 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.1035, allocations: 55.94 kB / 447.8 MB, free: 252 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.1035, allocations: 107.6 kB / 447.9 MB, free: 144 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.1038, allocations: 246.9 kB / 448.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.1043, allocations: 0.5566 MB / 448.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1043, allocations: 0 / 448.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1043, allocations: 3.938 kB / 448.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.1043, allocations: 4 kB / 448.8 MB, free: 15.33 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001343/0.1057, allocations: 0.7603 MB / 449.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1057, allocations: 8.031 kB / 449.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.666e-05/0.1058, allocations: 48.38 kB / 449.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.1063, allocations: 321.3 kB / 449.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.1063, allocations: 37.38 kB / 449.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.1064, allocations: 48.38 kB / 450 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.1072, allocations: 471.2 kB / 450.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1072, allocations: 3.984 kB / 450.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.1072, allocations: 16 kB / 450.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.1073, allocations: 12 kB / 450.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008177/0.1081, allocations: 323.8 kB / 450.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.1105, allocations: 1.666 MB / 452.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.1111, allocations: 248.9 kB / 452.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.1114, allocations: 141.6 kB / 452.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.1115, allocations: 0 / 452.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1115, allocations: 42.56 kB / 452.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.866e-06/0.1115, allocations: 0 / 452.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.003083/0.1146, allocations: 1.332 MB / 454.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1147, allocations: 88.98 kB / 454.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.115, allocations: 262.5 kB / 454.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.115, allocations: 33.7 kB / 454.6 MB, free: 9.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.1152, allocations: 267.4 kB / 454.8 MB, free: 8.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.1153, allocations: 118.3 kB / 454.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1154, allocations: 74.05 kB / 455 MB, free: 8.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1156, allocations: 338.8 kB / 455.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.1159, allocations: 108.8 kB / 455.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.1162, allocations: 216.3 kB / 455.7 MB, free: 7.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/0.1168, allocations: 344 kB / 456 MB, free: 7.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1168, allocations: 0 / 456 MB, free: 7.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000823/0.1177, allocations: 414.2 kB / 456.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1177, allocations: 10.81 kB / 456.4 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1177, allocations: 4 kB / 456.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.1179, allocations: 33.22 kB / 456.5 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.1183, allocations: 131.7 kB / 456.6 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.1196, allocations: 1.43 MB / 458 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.1199, allocations: 19.98 kB / 458 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.12, allocations: 16 kB / 458.1 MB, free: 5.371 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.1202, allocations: 165.8 kB / 458.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.1203, allocations: 39.67 kB / 458.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.327e-05/0.1204, allocations: 30.19 kB / 458.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1204, allocations: 8.125 kB / 458.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.1204, allocations: 7.984 kB / 458.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1204, allocations: 0 / 458.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.1215, allocations: 0.7115 MB / 459 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.1216, allocations: 4 kB / 459 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.122, allocations: 95.88 kB / 459.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.721e-05/0.1221, allocations: 24.84 kB / 459.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.1221, allocations: 11.94 kB / 459.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.1233, allocations: 1.426 MB / 460.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1233, allocations: 4.031 kB / 460.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1244, allocations: 0.6086 MB / 461.2 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1245, allocations: 120.8 kB / 461.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.1246, allocations: 11.94 kB / 461.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.1248, allocations: 23.98 kB / 461.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.1249, allocations: 23.84 kB / 461.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1249, allocations: 15.98 kB / 461.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.1251, allocations: 186 kB / 461.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1251, allocations: 0 / 461.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.1256, allocations: 96 kB / 461.6 MB, free: 1.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.1257, allocations: 103.4 kB / 461.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008822/0.1266, allocations: 414.2 kB / 462.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1266, allocations: 0 / 462.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.127, allocations: 254.4 kB / 462.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.1275, allocations: 40.47 kB / 462.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1292, allocations: 0.9048 MB / 463.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.1296, allocations: 0.8074 MB / 464.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000149/0.1297, allocations: 34.97 kB / 464.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.1298, allocations: 31.42 kB / 464.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1298, allocations: 0 / 464.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of Templates: time 0.00689/0.1367, allocations: 3.018 MB / 467.2 MB, free: 11.86 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches