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.001196/0.001196, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1948/0.1948, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 79.86 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2914, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003433/0.2949, allocations: 2.684 MB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2961, allocations: 0.792 MB / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.2962, allocations: 5.938 kB / 0.535 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.2964, allocations: 72.41 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.2967, allocations: 111.5 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.2969, allocations: 105.9 kB / 0.5353 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.2973, allocations: 418.2 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.2975, allocations: 149 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.2977, allocations: 142.6 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2979, allocations: 176.5 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.2979, allocations: 36.31 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.535e-05/0.298, allocations: 32.84 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.298, allocations: 78.41 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.2982, allocations: 184.2 kB / 0.5365 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.2986, allocations: 424.9 kB / 0.5369 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2986, allocations: 5.25 kB / 0.5369 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2986, allocations: 0 / 0.5369 GB, free: 9.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2986, allocations: 0 / 0.5369 GB, free: 9.566 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009538/0.2996, allocations: 0.6658 MB / 0.5375 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2996, allocations: 15.38 kB / 0.5376 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.2997, allocations: 44.25 kB / 0.5376 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.3, allocations: 277.8 kB / 0.5379 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.3, allocations: 27.22 kB / 0.5379 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.3001, allocations: 29.84 kB / 0.5379 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.3007, allocations: 369.5 kB / 0.5383 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3007, allocations: 5.344 kB / 0.5383 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.3008, allocations: 10.97 kB / 0.5383 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3008, allocations: 8.75 kB / 0.5383 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.3014, allocations: 270.4 kB / 0.5386 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.3032, allocations: 1.344 MB / 0.5399 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.3037, allocations: 193.2 kB / 0.5401 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.3039, allocations: 84.64 kB / 0.5401 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3039, allocations: 1.781 kB / 0.5401 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.304, allocations: 41.47 kB / 0.5402 GB, free: 6.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.304, allocations: 0 / 0.5402 GB, free: 6.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.000757/0.3047, allocations: 251.4 kB / 0.5404 GB, free: 6.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.3048, allocations: 135.2 kB / 0.5405 GB, free: 6.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.3052, allocations: 344 kB / 0.5409 GB, free: 6.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3053, allocations: 31.05 kB / 0.5409 GB, free: 6.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.3055, allocations: 233 kB / 0.5411 GB, free: 6.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.3055, allocations: 54.77 kB / 0.5412 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.3056, allocations: 54.61 kB / 0.5412 GB, free: 5.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3058, allocations: 349.2 kB / 0.5416 GB, free: 5.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.306, allocations: 79.44 kB / 0.5416 GB, free: 5.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.3062, allocations: 170.1 kB / 0.5418 GB, free: 5.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.3067, allocations: 259 kB / 0.542 GB, free: 5.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3067, allocations: 1.094 kB / 0.542 GB, free: 5.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006191/0.3074, allocations: 308.8 kB / 0.5423 GB, free: 5.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3074, allocations: 6.656 kB / 0.5423 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3074, allocations: 3.531 kB / 0.5424 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3074, allocations: 4.312 kB / 0.5424 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.3078, allocations: 92.14 kB / 0.5424 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3078, allocations: 8.781 kB / 0.5425 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.3081, allocations: 52.31 kB / 0.5425 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.3081, allocations: 13 kB / 0.5425 GB, free: 5.012 MB / 398.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.0001658/0.3083, allocations: 149.7 kB / 0.5427 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/0.3084, allocations: 37.84 kB / 0.5427 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.818e-05/0.3085, allocations: 31.47 kB / 0.5427 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3085, allocations: 2.281 kB / 0.5427 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3085, allocations: 2.219 kB / 0.5427 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3085, allocations: 5.125 kB / 0.5427 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.3093, allocations: 0.5974 MB / 0.5433 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3093, allocations: 2.281 kB / 0.5433 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.3095, allocations: 53.56 kB / 0.5434 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3096, allocations: 2.219 kB / 0.5434 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3096, allocations: 15.34 kB / 0.5434 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.3096, allocations: 2.156 kB / 0.5434 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3096, allocations: 6.219 kB / 0.5434 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.3101, allocations: 389.4 kB / 0.5438 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.3102, allocations: 109.7 kB / 0.5439 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.3102, allocations: 11.53 kB / 0.5439 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.3104, allocations: 16.12 kB / 0.5439 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.3105, allocations: 22.98 kB / 0.5439 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3105, allocations: 4.5 kB / 0.5439 GB, free: 3.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.3107, allocations: 237.4 kB / 0.5441 GB, free: 3.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3107, allocations: 0 / 0.5441 GB, free: 3.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.3111, allocations: 71.47 kB / 0.5442 GB, free: 3.574 MB / 398.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.0001023/0.3112, allocations: 96 kB / 0.5443 GB, free: 3.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005116/0.3118, allocations: 199.2 kB / 0.5445 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3118, allocations: 0 / 0.5445 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.312, allocations: 83.39 kB / 0.5446 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3124, allocations: 31.64 kB / 0.5446 GB, free: 3.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.3133, allocations: 0.5781 MB / 0.5452 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3136, allocations: 0.7767 MB / 0.5459 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.3137, allocations: 24.91 kB / 0.546 GB, free: 2.152 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3137, allocations: 0 / 0.546 GB, free: 2.152 MB / 398.1 MB Notification: Performance of Templates: time 0.004424/0.3181, allocations: 3.218 MB / 0.5491 GB, free: 15.24 MB / 414.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 -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