Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 110.3 kB / 17.98 MB, free: 5.238 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.001059/0.00106, allocations: 193.3 kB / 18.9 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2118/0.2118, allocations: 44.18 MB / 336.9 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 65.28 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 60.83 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002603/0.1049, allocations: 1.773 MB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001396/0.1051, allocations: 83.73 kB / 471.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.1051, allocations: 4 kB / 471.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.238e-05/0.1052, allocations: 7.922 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.1053, allocations: 19.84 kB / 471.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.403e-05/0.1054, allocations: 15.98 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1055, allocations: 111.6 kB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1056, allocations: 59.94 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.969e-05/0.1057, allocations: 39.86 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.1058, allocations: 55.77 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1058, allocations: 12 kB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.1058, allocations: 12 kB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.1058, allocations: 19.92 kB / 471.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.1059, allocations: 51.78 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.106, allocations: 88.06 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.106, allocations: 0 / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.106, allocations: 4 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.106, allocations: 0 / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005354/0.1066, allocations: 419.1 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1066, allocations: 12.03 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.1066, allocations: 8.844 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1068, allocations: 176.2 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1068, allocations: 8.375 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1068, allocations: 12.38 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.1071, allocations: 122.1 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1071, allocations: 4.125 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1071, allocations: 7.875 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1072, allocations: 4 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.1075, allocations: 113.4 kB / 472.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.1081, allocations: 479.3 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1084, allocations: 86.53 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.1086, allocations: 60.94 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1086, allocations: 4 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1086, allocations: 38.5 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1086, allocations: 0 / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007296/0.1094, allocations: 267.4 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.1094, allocations: 51.41 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.1095, allocations: 125.8 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1095, allocations: 29.7 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.1096, allocations: 108.1 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.1096, allocations: 11.81 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.1096, allocations: 17.72 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.1097, allocations: 322.8 kB / 474.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1099, allocations: 35.97 kB / 474.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1101, allocations: 62.52 kB / 474.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.1103, allocations: 102.4 kB / 474.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1104, allocations: 3.938 kB / 474.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003724/0.1107, allocations: 146.3 kB / 474.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1108, allocations: 4 kB / 474.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1108, allocations: 0 / 474.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.1109, allocations: 24.84 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.111, allocations: 23.95 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/0.1119, allocations: 1.406 MB / 476 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.112, allocations: 12.02 kB / 476 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.112, allocations: 8 kB / 476 MB, free: 7.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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 7.467e-05/0.1121, allocations: 121.9 kB / 476.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.1122, allocations: 11.84 kB / 476.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.1122, allocations: 12.31 kB / 476.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1122, allocations: 0 / 476.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1122, allocations: 7.938 kB / 476.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1122, allocations: 3.984 kB / 476.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.1128, allocations: 420.1 kB / 476.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1128, allocations: 4 kB / 476.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.1129, allocations: 11.98 kB / 476.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.539e-05/0.113, allocations: 24.84 kB / 476.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.113, allocations: 0 / 476.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.1138, allocations: 1.414 MB / 478 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1138, allocations: 0 / 478 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.1142, allocations: 241 kB / 478.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.1143, allocations: 85.08 kB / 478.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1143, allocations: 8 kB / 478.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1144, allocations: 11.97 kB / 478.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1144, allocations: 4 kB / 478.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1145, allocations: 8.125 kB / 478.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.671e-05/0.1145, allocations: 95.27 kB / 478.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1145, allocations: 0 / 478.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1148, allocations: 23.94 kB / 478.5 MB, free: 4.953 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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 9.216e-05/0.1149, allocations: 107.7 kB / 478.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.1154, allocations: 214.5 kB / 478.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1154, allocations: 0 / 478.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.1156, allocations: 162.8 kB / 478.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1159, allocations: 7.984 kB / 478.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.1163, allocations: 270.7 kB / 479.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.1166, allocations: 0.7002 MB / 479.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.1166, allocations: 11.44 kB / 479.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1166, allocations: 0 / 479.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of Templates: time 0.002962/0.1196, allocations: 1.594 MB / 481.5 MB, free: 1.805 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches