Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.00112, allocations: 102.2 kB / 17.08 MB, free: 5.832 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.001046/0.001046, allocations: 199.3 kB / 18.02 MB, free: 4.961 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.339/1.339, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1997/0.1997, allocations: 43.52 MB / 314.8 MB, free: 476 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.001488/0.001488, allocations: 59.91 kB / 442.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003884/0.1138, allocations: 2.627 MB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1152, allocations: 0.7913 MB / 0.4919 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.1154, allocations: 12 kB / 0.4919 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1157, allocations: 67.38 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.116, allocations: 95.19 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1163, allocations: 115.8 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.1168, allocations: 434.4 kB / 0.4926 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.117, allocations: 139.2 kB / 0.4927 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.1173, allocations: 143.5 kB / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1175, allocations: 171.2 kB / 0.493 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.1176, allocations: 32 kB / 0.493 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.42e-05/0.1177, allocations: 36 kB / 0.4931 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.1178, allocations: 75.75 kB / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1179, allocations: 179 kB / 0.4933 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.1183, allocations: 430.4 kB / 0.4937 GB, free: 6.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1183, allocations: 0 / 0.4937 GB, free: 6.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1183, allocations: 0 / 0.4937 GB, free: 6.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1183, allocations: 4 kB / 0.4937 GB, free: 6.496 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001004/0.1193, allocations: 0.6552 MB / 0.4943 GB, free: 5.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1194, allocations: 11.89 kB / 0.4944 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.1194, allocations: 40.47 kB / 0.4944 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1198, allocations: 276.6 kB / 0.4947 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.1198, allocations: 25.38 kB / 0.4947 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.1199, allocations: 32.38 kB / 0.4947 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006091/0.1205, allocations: 358.2 kB / 0.4951 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1205, allocations: 3.938 kB / 0.4951 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1206, allocations: 16 kB / 0.4951 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.1206, allocations: 11.98 kB / 0.4951 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.1212, allocations: 255.8 kB / 0.4953 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.1231, allocations: 1.342 MB / 0.4966 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.1236, allocations: 194.5 kB / 0.4968 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1238, allocations: 83.52 kB / 0.4969 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1238, allocations: 4 kB / 0.4969 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1238, allocations: 42.44 kB / 0.497 GB, free: 2.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/0.1238, allocations: 3.938 kB / 0.497 GB, free: 2.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00073/0.1246, allocations: 253.3 kB / 0.4972 GB, free: 2.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1246, allocations: 136.5 kB / 0.4973 GB, free: 2.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.125, allocations: 328.4 kB / 0.4976 GB, free: 2.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.125, allocations: 25.83 kB / 0.4977 GB, free: 2.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1251, allocations: 243.6 kB / 0.4979 GB, free: 1.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.1252, allocations: 51.27 kB / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.1253, allocations: 57.89 kB / 0.498 GB, free: 1.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1254, allocations: 342.8 kB / 0.4983 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.1256, allocations: 76.5 kB / 0.4984 GB, free: 1.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.1259, allocations: 172.2 kB / 0.4986 GB, free: 1.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.1263, allocations: 250.9 kB / 0.4988 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1264, allocations: 0 / 0.4988 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006102/0.127, allocations: 305.3 kB / 0.4991 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.127, allocations: 7.984 kB / 0.4991 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.127, allocations: 4 kB / 0.4991 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.127, allocations: 4 kB / 0.4991 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.1274, allocations: 91.81 kB / 0.4992 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1274, allocations: 7.984 kB / 0.4992 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.1277, allocations: 55.58 kB / 0.4993 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1277, allocations: 8 kB / 0.4993 GB, free: 388 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.1279, allocations: 153.7 kB / 0.4994 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.128, allocations: 31.62 kB / 0.4994 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/0.1281, allocations: 34.67 kB / 0.4995 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1281, allocations: 0 / 0.4995 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1281, allocations: 0 / 0.4995 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.1281, allocations: 112.7 kB / 0.4996 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.1282, allocations: 11.98 kB / 0.4996 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.1285, allocations: 19.97 kB / 0.4996 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.1285, allocations: 11.94 kB / 0.4996 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000683/0.1292, allocations: 0.5185 MB / 0.5001 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005362/0.1298, allocations: 0.5857 MB / 0.5007 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001836/0.13, allocations: 67.94 kB / 0.5008 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.1302, allocations: 227.1 kB / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.1302, allocations: 3.938 kB / 0.501 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008142/0.131, allocations: 212.9 kB / 0.5012 GB, free: 14.35 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009484/0.132, allocations: 0.9391 MB / 0.5021 GB, free: 13.36 MB / 398.1 MB Notification: Performance of Templates: time 0.005656/0.1376, allocations: 2.568 MB / 0.5046 GB, free: 10.79 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches