Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001378, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.0009038, allocations: 91.92 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3257/0.3257, allocations: 44.22 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 12 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3519, allocations: 61.9 MB / 0.5096 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.4624, allocations: 89.47 MB / 0.5969 GB, free: 5.672 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4627, allocations: 79.89 kB / 0.597 GB, free: 5.598 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01859/0.4813, allocations: 7.211 MB / 0.604 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4813, allocations: 0 / 0.604 GB, free: 14.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.4813, allocations: 8 kB / 0.6041 GB, free: 14.36 MB / 426.7 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.0009545/0.4823, allocations: 0.6173 MB / 0.6047 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4824, allocations: 11.97 kB / 0.6047 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.4824, allocations: 39.53 kB / 0.6047 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.4828, allocations: 268.5 kB / 0.605 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.4828, allocations: 25 kB / 0.605 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.4829, allocations: 36 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.4835, allocations: 366.6 kB / 0.6054 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4835, allocations: 7.922 kB / 0.6054 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.4836, allocations: 16 kB / 0.6054 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.4836, allocations: 12 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.4842, allocations: 277 kB / 0.6057 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.4859, allocations: 1.292 MB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.4864, allocations: 206.5 kB / 0.6071 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.4864, allocations: 4.031 kB / 0.6071 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.4865, allocations: 38.86 kB / 0.6072 GB, free: 10.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.4865, allocations: 3.938 kB / 0.6072 GB, free: 10.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007729/0.4872, allocations: 277.6 kB / 0.6074 GB, free: 10.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.4873, allocations: 140.5 kB / 0.6076 GB, free: 10.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.4876, allocations: 287.6 kB / 0.6078 GB, free: 10.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4877, allocations: 33.64 kB / 0.6079 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4878, allocations: 239.6 kB / 0.6081 GB, free: 9.906 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.4879, allocations: 59.27 kB / 0.6082 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.4879, allocations: 4 kB / 0.6082 GB, free: 9.844 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.488, allocations: 338.8 kB / 0.6085 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.4883, allocations: 80.5 kB / 0.6086 GB, free: 9.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.4886, allocations: 189.5 kB / 0.6087 GB, free: 9.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.4888, allocations: 99.91 kB / 0.6088 GB, free: 9.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.4888, allocations: 4 kB / 0.6088 GB, free: 9.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006182/0.4895, allocations: 324.9 kB / 0.6092 GB, free: 8.773 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4895, allocations: 8 kB / 0.6092 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4895, allocations: 4.25 kB / 0.6092 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.4895, allocations: 12.23 kB / 0.6092 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.4899, allocations: 79.83 kB / 0.6093 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.4899, allocations: 7.938 kB / 0.6093 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.4901, allocations: 51.56 kB / 0.6093 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.4902, allocations: 16 kB / 0.6093 GB, free: 8.598 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.4903, allocations: 150.2 kB / 0.6095 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.4904, allocations: 35.61 kB / 0.6095 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/0.4905, allocations: 30.41 kB / 0.6095 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4905, allocations: 4 kB / 0.6095 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4905, allocations: 3.953 kB / 0.6095 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.4905, allocations: 3.984 kB / 0.6095 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.4912, allocations: 0.5877 MB / 0.6101 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4912, allocations: 3.953 kB / 0.6101 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.4914, allocations: 47.91 kB / 0.6102 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4915, allocations: 0 / 0.6102 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4915, allocations: 12.16 kB / 0.6102 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4915, allocations: 0 / 0.6102 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4915, allocations: 4 kB / 0.6102 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.4921, allocations: 486.9 kB / 0.6106 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.4922, allocations: 116.7 kB / 0.6108 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.4922, allocations: 0 / 0.6108 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.4924, allocations: 28.17 kB / 0.6108 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.4925, allocations: 11.98 kB / 0.6108 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.4925, allocations: 12 kB / 0.6108 GB, free: 6.906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.4927, allocations: 227 kB / 0.611 GB, free: 6.684 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4927, allocations: 0 / 0.611 GB, free: 6.684 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.4931, allocations: 71.78 kB / 0.6111 GB, free: 6.613 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001195/0.4932, allocations: 107.2 kB / 0.6112 GB, free: 6.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.4937, allocations: 212.1 kB / 0.6114 GB, free: 6.293 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4937, allocations: 0 / 0.6114 GB, free: 6.293 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.4939, allocations: 96.52 kB / 0.6115 GB, free: 6.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.4942, allocations: 25.38 kB / 0.6115 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.4951, allocations: 0.6625 MB / 0.6122 GB, free: 5.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.4954, allocations: 0.78 MB / 0.6129 GB, free: 4.668 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.4955, allocations: 22.12 kB / 0.6129 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.4956, allocations: 19.44 kB / 0.613 GB, free: 4.625 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4956, allocations: 0 / 0.613 GB, free: 4.625 MB / 426.7 MB Notification: Performance of Templates: time 0.004122/0.4997, allocations: 1.652 MB / 0.6146 GB, free: 2.977 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches