Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 83.8 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3351, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003593/0.3387, allocations: 1.734 MB / 0.5333 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002112/0.339, allocations: 86.67 kB / 0.5334 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.339, allocations: 1.375 kB / 0.5334 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.078e-05/0.3391, allocations: 14.61 kB / 0.5334 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.963e-05/0.3392, allocations: 21.16 kB / 0.5334 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.3394, allocations: 24.09 kB / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3395, allocations: 110.2 kB / 0.5336 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3397, allocations: 57.94 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.3398, allocations: 40.36 kB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.3399, allocations: 52.14 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.3399, allocations: 11 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.077e-05/0.34, allocations: 11 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.34, allocations: 26.67 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.3401, allocations: 45.55 kB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3402, allocations: 121.5 kB / 0.5339 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3402, allocations: 0 / 0.5339 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3403, allocations: 1.375 kB / 0.5339 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3403, allocations: 0 / 0.5339 GB, free: 11.81 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007321/0.341, allocations: 418.2 kB / 0.5343 GB, free: 11.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3411, allocations: 9.188 kB / 0.5343 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.3411, allocations: 10.03 kB / 0.5343 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3413, allocations: 176.8 kB / 0.5345 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3413, allocations: 7.938 kB / 0.5345 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3413, allocations: 6.969 kB / 0.5345 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.3417, allocations: 129.3 kB / 0.5346 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3418, allocations: 4.125 kB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3418, allocations: 9.156 kB / 0.5347 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3418, allocations: 6.203 kB / 0.5347 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.3422, allocations: 109.2 kB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008329/0.343, allocations: 473.9 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.3433, allocations: 79.59 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.3435, allocations: 70.39 kB / 0.5354 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3436, allocations: 1.125 kB / 0.5354 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3436, allocations: 35.56 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3436, allocations: 0 / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008317/0.3444, allocations: 268.3 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.3445, allocations: 60.44 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3446, allocations: 125.1 kB / 0.5358 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3446, allocations: 26.73 kB / 0.5359 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.3447, allocations: 109.1 kB / 0.536 GB, free: 9.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3448, allocations: 22.42 kB / 0.536 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.3448, allocations: 17.66 kB / 0.536 GB, free: 9.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3449, allocations: 321.5 kB / 0.5363 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3451, allocations: 31.91 kB / 0.5363 GB, free: 9.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.3453, allocations: 61.91 kB / 0.5364 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.3456, allocations: 97.06 kB / 0.5365 GB, free: 9.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3456, allocations: 3.938 kB / 0.5365 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004319/0.346, allocations: 146.9 kB / 0.5366 GB, free: 9.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3461, allocations: 5.031 kB / 0.5366 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3461, allocations: 1.344 kB / 0.5366 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.3462, allocations: 23.78 kB / 0.5367 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3464, allocations: 17.36 kB / 0.5367 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.3476, allocations: 1.408 MB / 0.5381 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3477, allocations: 19.77 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3477, allocations: 2.531 kB / 0.5381 GB, free: 7.848 MB / 398.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 0.0001164/0.3478, allocations: 122.4 kB / 0.5382 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.3479, allocations: 15.09 kB / 0.5382 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.3479, allocations: 9.406 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3479, allocations: 1.062 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3479, allocations: 5.094 kB / 0.5382 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3479, allocations: 0 / 0.5382 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.3486, allocations: 427.2 kB / 0.5386 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3486, allocations: 1.406 kB / 0.5386 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.3487, allocations: 18.28 kB / 0.5386 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-05/0.3488, allocations: 19.95 kB / 0.5387 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3488, allocations: 8.016 kB / 0.5387 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009973/0.3498, allocations: 1.404 MB / 0.54 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.3498, allocations: 8.047 kB / 0.5401 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.3503, allocations: 238.3 kB / 0.5403 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.3504, allocations: 95.17 kB / 0.5404 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3504, allocations: 1.219 kB / 0.5404 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3505, allocations: 11.64 kB / 0.5404 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.3506, allocations: 11.55 kB / 0.5404 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3506, allocations: 1.406 kB / 0.5404 GB, free: 5.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.789e-05/0.3507, allocations: 94.05 kB / 0.5405 GB, free: 5.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3507, allocations: 0 / 0.5405 GB, free: 5.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.351, allocations: 26.69 kB / 0.5405 GB, free: 5.387 MB / 398.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 0.0001706/0.3512, allocations: 97.78 kB / 0.5406 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.3518, allocations: 206.7 kB / 0.5408 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3518, allocations: 3.938 kB / 0.5408 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.3521, allocations: 170.8 kB / 0.541 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3524, allocations: 5.344 kB / 0.541 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.3529, allocations: 239.5 kB / 0.5412 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.3533, allocations: 0.7049 MB / 0.5419 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.3533, allocations: 14.75 kB / 0.5419 GB, free: 4.047 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3533, allocations: 0 / 0.5419 GB, free: 4.047 MB / 398.1 MB Notification: Performance of Templates: time 0.004211/0.3575, allocations: 1.589 MB / 0.5435 GB, free: 3.219 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches