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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 109.5 kB / 17.77 MB, free: 5.266 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.001644/0.001644, allocations: 188 kB / 18.71 MB, free: 4.34 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.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2395/0.2395, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.513, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004441/0.5175, allocations: 2.658 MB / 0.5215 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.5189, allocations: 0.753 MB / 0.5222 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.5191, allocations: 9.719 kB / 0.5222 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.5193, allocations: 62.58 kB / 0.5223 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.5196, allocations: 101.4 kB / 0.5224 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.5199, allocations: 115.8 kB / 0.5225 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000681/0.5206, allocations: 421.6 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.521, allocations: 152.1 kB / 0.523 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.5213, allocations: 143.5 kB / 0.5232 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.5216, allocations: 171.5 kB / 0.5233 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.5217, allocations: 32.19 kB / 0.5234 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.5217, allocations: 33.88 kB / 0.5234 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.5218, allocations: 83.06 kB / 0.5235 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.5221, allocations: 181.9 kB / 0.5237 GB, free: 416 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000782/0.5229, allocations: 422.8 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.5229, allocations: 0 / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.5229, allocations: 1.062 kB / 0.5241 GB, free: 240 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.523, allocations: 0.5625 kB / 0.5241 GB, free: 240 kB / 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.001207/0.5242, allocations: 0.6625 MB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5242, allocations: 9.312 kB / 0.5247 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.5243, allocations: 44.62 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.5247, allocations: 276.9 kB / 0.525 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.5248, allocations: 26.88 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.5248, allocations: 33.77 kB / 0.5251 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.5256, allocations: 366.4 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5256, allocations: 3.938 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/0.5257, allocations: 13.89 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5257, allocations: 5.844 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.5263, allocations: 265.4 kB / 0.5257 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.5285, allocations: 1.338 MB / 0.527 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.529, allocations: 192.4 kB / 0.5272 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.5292, allocations: 85 kB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.5293, allocations: 6.328 kB / 0.5273 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5293, allocations: 37.16 kB / 0.5273 GB, free: 13.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 5.25e-06/0.5293, allocations: 3.984 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008096/0.5302, allocations: 247.3 kB / 0.5276 GB, free: 13.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.5303, allocations: 134.8 kB / 0.5277 GB, free: 13.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.5306, allocations: 324.8 kB / 0.528 GB, free: 13.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.5307, allocations: 35.17 kB / 0.528 GB, free: 13.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.5308, allocations: 242.4 kB / 0.5283 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.5309, allocations: 53.28 kB / 0.5283 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.531, allocations: 57.89 kB / 0.5284 GB, free: 12.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.5313, allocations: 345.2 kB / 0.5287 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.5315, allocations: 79.41 kB / 0.5288 GB, free: 12.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.5318, allocations: 169.8 kB / 0.5289 GB, free: 12.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.5323, allocations: 250.2 kB / 0.5292 GB, free: 12.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5323, allocations: 1.656 kB / 0.5292 GB, free: 12.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006861/0.533, allocations: 312.6 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.533, allocations: 6.375 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.533, allocations: 2.719 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.5331, allocations: 6.125 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.5335, allocations: 96.45 kB / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.5335, allocations: 7.625 kB / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.5338, allocations: 48.62 kB / 0.5296 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.5338, allocations: 14.28 kB / 0.5296 GB, free: 11.98 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.0001731/0.534, allocations: 147.4 kB / 0.5298 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.5341, allocations: 30.03 kB / 0.5298 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.618e-05/0.5342, allocations: 31.78 kB / 0.5298 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.5342, allocations: 2.188 kB / 0.5299 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.5342, allocations: 1 kB / 0.5299 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.5342, allocations: 1.125 kB / 0.5299 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.5353, allocations: 0.597 MB / 0.5304 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.5353, allocations: 1.156 kB / 0.5304 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.5356, allocations: 58.09 kB / 0.5305 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.5356, allocations: 7.719 kB / 0.5305 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.5356, allocations: 10.25 kB / 0.5305 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.5356, allocations: 6.203 kB / 0.5305 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.5356, allocations: 2.344 kB / 0.5305 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.5362, allocations: 388.5 kB / 0.5309 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/0.5364, allocations: 105.4 kB / 0.531 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.5364, allocations: 10.78 kB / 0.531 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.5366, allocations: 18.11 kB / 0.531 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.5367, allocations: 17.92 kB / 0.531 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.5367, allocations: 7.703 kB / 0.531 GB, free: 10.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002768/0.537, allocations: 227.4 kB / 0.5313 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.537, allocations: 0 / 0.5313 GB, free: 10.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004383/0.5375, allocations: 75.53 kB / 0.5313 GB, free: 10.55 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.0001448/0.5376, allocations: 96.56 kB / 0.5314 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005785/0.5382, allocations: 199.3 kB / 0.5316 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5382, allocations: 0 / 0.5316 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.5385, allocations: 91.03 kB / 0.5317 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.5389, allocations: 31.03 kB / 0.5317 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.54, allocations: 0.5323 MB / 0.5322 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.5404, allocations: 0.7782 MB / 0.533 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.908e-05/0.5406, allocations: 24.94 kB / 0.533 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.5406, allocations: 22.66 kB / 0.5331 GB, free: 9.16 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.5406, allocations: 3.938 kB / 0.5331 GB, free: 9.156 MB / 398.1 MB Notification: Performance of Templates: time 0.00595/0.5466, allocations: 1.893 MB / 0.5349 GB, free: 8.199 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches