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.001299/0.001299, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001627, allocations: 203.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002105, allocations: 75.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00378/0.4122, allocations: 1.737 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.4125, allocations: 85.23 kB / 0.5327 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.4126, allocations: 0 / 0.5327 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.739e-05/0.4127, allocations: 13.73 kB / 0.5327 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.4128, allocations: 25.94 kB / 0.5328 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.413, allocations: 26.22 kB / 0.5328 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.4132, allocations: 107.1 kB / 0.5329 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.4134, allocations: 61.94 kB / 0.533 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.4135, allocations: 40.36 kB / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.4136, allocations: 52.14 kB / 0.533 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.4136, allocations: 11 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.185e-05/0.4136, allocations: 11 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.4137, allocations: 22.67 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.4137, allocations: 45.55 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.414, allocations: 122.2 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.84e-05/0.414, allocations: 5.375 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.414, allocations: 0 / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.414, allocations: 0 / 0.5333 GB, free: 11.84 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.0006731/0.4147, allocations: 420.3 kB / 0.5337 GB, free: 11.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4147, allocations: 9.625 kB / 0.5337 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.4148, allocations: 10.39 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.415, allocations: 176.3 kB / 0.5338 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.415, allocations: 12.5 kB / 0.5339 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.415, allocations: 9.875 kB / 0.5339 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.4154, allocations: 124 kB / 0.534 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4154, allocations: 4.125 kB / 0.534 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4154, allocations: 7.938 kB / 0.534 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4154, allocations: 2.75 kB / 0.534 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.4158, allocations: 117.9 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.4165, allocations: 465.3 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.4168, allocations: 88.06 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.417, allocations: 66.73 kB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.4171, allocations: 0 / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4171, allocations: 35.59 kB / 0.5347 GB, free: 10.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4171, allocations: 1.219 kB / 0.5347 GB, free: 10.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008/0.4179, allocations: 267.9 kB / 0.535 GB, free: 10.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.418, allocations: 52.66 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.4181, allocations: 120.9 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4181, allocations: 30.83 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.4182, allocations: 112.6 kB / 0.5353 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.4182, allocations: 26.09 kB / 0.5353 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.4183, allocations: 18.16 kB / 0.5353 GB, free: 9.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4184, allocations: 321.2 kB / 0.5356 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.4186, allocations: 37.16 kB / 0.5357 GB, free: 9.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.4187, allocations: 60.34 kB / 0.5357 GB, free: 9.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.4191, allocations: 97.91 kB / 0.5358 GB, free: 9.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4191, allocations: 13 kB / 0.5358 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003941/0.4195, allocations: 137.8 kB / 0.536 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4195, allocations: 5.5 kB / 0.536 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4195, allocations: 1.375 kB / 0.536 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.4197, allocations: 23.84 kB / 0.536 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.4198, allocations: 24.42 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.4209, allocations: 1.4 MB / 0.5374 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.421, allocations: 16.05 kB / 0.5374 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.421, allocations: 1.375 kB / 0.5374 GB, free: 7.867 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 9.116e-05/0.4211, allocations: 122.6 kB / 0.5375 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.4211, allocations: 10.89 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.4212, allocations: 9.938 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.4212, allocations: 5.5 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4212, allocations: 4.062 kB / 0.5376 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4212, allocations: 3.938 kB / 0.5376 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.4218, allocations: 426.8 kB / 0.538 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.4218, allocations: 5.156 kB / 0.538 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.4219, allocations: 22.44 kB / 0.538 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.973e-05/0.422, allocations: 23.97 kB / 0.538 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.422, allocations: 5.156 kB / 0.538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000917/0.423, allocations: 1.403 MB / 0.5394 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.423, allocations: 3.984 kB / 0.5394 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.4234, allocations: 242.2 kB / 0.5396 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.4235, allocations: 83.75 kB / 0.5397 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.4235, allocations: 1.188 kB / 0.5397 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.4236, allocations: 11.05 kB / 0.5397 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.4236, allocations: 11.7 kB / 0.5397 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.4236, allocations: 2.688 kB / 0.5397 GB, free: 5.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.4237, allocations: 92.42 kB / 0.5398 GB, free: 5.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4237, allocations: 4 kB / 0.5398 GB, free: 5.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.424, allocations: 35.23 kB / 0.5399 GB, free: 5.398 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 9.954e-05/0.4241, allocations: 91.41 kB / 0.5399 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004957/0.4246, allocations: 205.6 kB / 0.5401 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4246, allocations: 5.125 kB / 0.5401 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.4249, allocations: 162.3 kB / 0.5403 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.4252, allocations: 11.25 kB / 0.5403 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.4256, allocations: 213.1 kB / 0.5405 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.4259, allocations: 0.7008 MB / 0.5412 GB, free: 4.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.4259, allocations: 6.281 kB / 0.5412 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.426, allocations: 9.844 kB / 0.5412 GB, free: 4.098 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.426, allocations: 0 / 0.5412 GB, free: 4.098 MB / 398.1 MB Notification: Performance of Templates: time 0.003478/0.4295, allocations: 1.116 MB / 0.5423 GB, free: 3.531 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches