Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 106.2 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1888/0.1888, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 74.88 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.0972, allocations: 62.44 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00355/0.1008, allocations: 2.525 MB / 482.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1023, allocations: 1.071 MB / 483.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1024, allocations: 4 kB / 483.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1035, allocations: 486.2 kB / 483.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1038, allocations: 87.45 kB / 483.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/0.1045, allocations: 465.8 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1048, allocations: 219 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004185/0.1052, allocations: 282.5 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.1054, allocations: 103.6 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1056, allocations: 127.5 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.1056, allocations: 24 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.1059, allocations: 143.9 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.1059, allocations: 55.77 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.22e-05/0.106, allocations: 111.5 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.1064, allocations: 407 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1065, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1065, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1065, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001132/0.1076, allocations: 0.6125 MB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1077, allocations: 16.03 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.1077, allocations: 62.73 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003093/0.108, allocations: 52.61 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1082, allocations: 196 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1082, allocations: 16.94 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.1082, allocations: 24.38 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.1088, allocations: 287.5 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1088, allocations: 8 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1088, allocations: 8 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1088, allocations: 8 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.1094, allocations: 237.4 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.1107, allocations: 1.001 MB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.1112, allocations: 375.3 kB / 488.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.1115, allocations: 133.7 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.1117, allocations: 174.1 kB / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1117, allocations: 30.56 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.1117, allocations: 0 / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001078/0.1128, allocations: 0.4997 MB / 489.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1128, allocations: 77.11 kB / 489.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.113, allocations: 156.2 kB / 489.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.113, allocations: 29.7 kB / 489.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.113, allocations: 132.2 kB / 489.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/0.1131, allocations: 78.92 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.1132, allocations: 37.72 kB / 489.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.1133, allocations: 318.8 kB / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.1135, allocations: 75.94 kB / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.1137, allocations: 121.8 kB / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.1141, allocations: 200.1 kB / 490.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1141, allocations: 3.938 kB / 490.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005733/0.1147, allocations: 282.8 kB / 490.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1147, allocations: 11.94 kB / 490.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1147, allocations: 0 / 490.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.1149, allocations: 53.88 kB / 490.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.1151, allocations: 39.97 kB / 490.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.1168, allocations: 2.841 MB / 493.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.117, allocations: 27.86 kB / 493.8 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.117, allocations: 11.94 kB / 493.8 MB, free: 6.547 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.1172, allocations: 144.7 kB / 494 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.1172, allocations: 11.81 kB / 494 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.1178, allocations: 272.2 kB / 494.2 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1178, allocations: 4.109 kB / 494.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1178, allocations: 3.938 kB / 494.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1179, allocations: 0 / 494.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009913/0.1189, allocations: 0.6576 MB / 494.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1189, allocations: 0 / 494.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.119, allocations: 35.92 kB / 494.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.1192, allocations: 45.69 kB / 495 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1192, allocations: 8 kB / 495 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.1208, allocations: 2.847 MB / 497.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1208, allocations: 4.281 kB / 497.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.1216, allocations: 0.5159 MB / 498.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.1217, allocations: 96.92 kB / 498.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1217, allocations: 8 kB / 498.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1219, allocations: 19.92 kB / 498.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.1219, allocations: 19.97 kB / 498.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.122, allocations: 4.062 kB / 498.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.125e-05/0.122, allocations: 110.1 kB / 498.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.122, allocations: 0 / 498.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000404/0.1224, allocations: 71.78 kB / 498.7 MB, free: 1.266 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001084/0.1235, allocations: 1.087 MB / 499.8 MB, free: 148 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006638/0.1242, allocations: 417.5 kB / 0.4885 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1242, allocations: 4 kB / 0.4885 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.1246, allocations: 329.2 kB / 0.4888 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.125, allocations: 12 kB / 0.4888 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.1278, allocations: 2.442 MB / 0.4912 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.128, allocations: 0.7322 MB / 0.4919 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.585e-05/0.1281, allocations: 17.42 kB / 0.4919 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.1282, allocations: 63.34 kB / 0.492 GB, free: 11.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1282, allocations: 0 / 0.492 GB, free: 11.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.745/0.8732, allocations: 4.146 MB / 0.496 GB, free: 7.957 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03684/0.9101, allocations: 243.9 kB / 0.4962 GB, free: 7.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/3.055, allocations: 4 kB / 0.4962 GB, free: 7.699 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches