Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.89 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1039, allocations: 62.46 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003701/0.1077, allocations: 2.677 MB / 484.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1088, allocations: 0.7905 MB / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.109, allocations: 4 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1092, allocations: 67.36 kB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.1094, allocations: 107.1 kB / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1097, allocations: 119.7 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.1101, allocations: 410.5 kB / 485.6 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.1103, allocations: 143.2 kB / 485.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1105, allocations: 143.4 kB / 485.9 MB, free: 36 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.1107, allocations: 175.3 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.1107, allocations: 35.94 kB / 486.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.1108, allocations: 32 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.1109, allocations: 79.7 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.111, allocations: 195 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.1114, allocations: 422.4 kB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1114, allocations: 0 / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1114, allocations: 0 / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1114, allocations: 0 / 486.8 MB, free: 15.11 MB / 366.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.0009706/0.1124, allocations: 0.6667 MB / 487.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1124, allocations: 13.11 kB / 487.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.1125, allocations: 44.38 kB / 487.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1128, allocations: 286.5 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.1129, allocations: 25.38 kB / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.1129, allocations: 32.38 kB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.1135, allocations: 366.2 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1136, allocations: 0 / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.1136, allocations: 16 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1136, allocations: 8 kB / 488.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.1142, allocations: 274.4 kB / 488.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.1161, allocations: 1.346 MB / 489.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.1166, allocations: 202.5 kB / 490.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1168, allocations: 75.52 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1168, allocations: 4 kB / 490.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1168, allocations: 38.5 kB / 490.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.1168, allocations: 8 kB / 490.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007221/0.1176, allocations: 249.1 kB / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.1176, allocations: 136.5 kB / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.118, allocations: 337.8 kB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.118, allocations: 25.7 kB / 490.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.1181, allocations: 243.5 kB / 491.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.1182, allocations: 55.33 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.1183, allocations: 57.89 kB / 491.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1184, allocations: 342.8 kB / 491.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1186, allocations: 76.5 kB / 491.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.1189, allocations: 169 kB / 491.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.1193, allocations: 254.9 kB / 492.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1193, allocations: 0 / 492.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006286/0.12, allocations: 313.4 kB / 492.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.12, allocations: 4 kB / 492.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.12, allocations: 4 kB / 492.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.12, allocations: 4 kB / 492.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.1204, allocations: 95.92 kB / 492.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1204, allocations: 4.188 kB / 492.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.1207, allocations: 55.5 kB / 492.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1207, allocations: 12 kB / 492.6 MB, free: 8.941 MB / 366.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.0001379/0.1209, allocations: 149.7 kB / 492.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.121, allocations: 31.62 kB / 492.8 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.121, allocations: 30.41 kB / 492.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.121, allocations: 4 kB / 492.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1211, allocations: 0 / 492.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1211, allocations: 3.984 kB / 492.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007451/0.1218, allocations: 0.5954 MB / 493.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1218, allocations: 3.938 kB / 493.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.1221, allocations: 68.03 kB / 493.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1221, allocations: 4 kB / 493.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1221, allocations: 7.875 kB / 493.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1221, allocations: 4 kB / 493.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1222, allocations: 0 / 493.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.1226, allocations: 397.4 kB / 493.9 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.1227, allocations: 108.7 kB / 494 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.1228, allocations: 7.938 kB / 494 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.123, allocations: 23.97 kB / 494 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.1231, allocations: 19.92 kB / 494 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1231, allocations: 4 kB / 494 MB, free: 7.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.1233, allocations: 235.2 kB / 494.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1233, allocations: 0 / 494.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.1237, allocations: 75.75 kB / 494.3 MB, free: 7.059 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001082/0.1238, allocations: 103.2 kB / 494.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.1243, allocations: 196.1 kB / 494.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1243, allocations: 0 / 494.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.1245, allocations: 84.64 kB / 494.7 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1249, allocations: 29.36 kB / 494.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.1258, allocations: 0.5421 MB / 495.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1261, allocations: 0.7791 MB / 496 MB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.953e-05/0.1262, allocations: 26.02 kB / 496.1 MB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.1263, allocations: 19.44 kB / 496.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1263, allocations: 0 / 496.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of Templates: time 0.004618/0.1309, allocations: 1.81 MB / 497.9 MB, free: 3.406 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches