Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 114.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 204 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 227.7 MB / 247.9 MB, free: 10.28 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.89 kB / 359.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2241, allocations: 50.54 MB / 410.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004219/0.2283, allocations: 2.819 MB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2297, allocations: 0.7984 MB / 413.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.2298, allocations: 4 kB / 413.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.2301, allocations: 63.44 kB / 413.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.2303, allocations: 95.19 kB / 414 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.2306, allocations: 115.8 kB / 414.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.231, allocations: 386.5 kB / 414.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.2312, allocations: 98.92 kB / 414.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.2315, allocations: 163.3 kB / 414.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.2317, allocations: 167.2 kB / 414.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.061e-05/0.2318, allocations: 36 kB / 414.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.808e-05/0.2318, allocations: 32 kB / 415 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.2319, allocations: 75.69 kB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.232, allocations: 171.1 kB / 415.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.2325, allocations: 402.1 kB / 415.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2325, allocations: 0 / 415.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2325, allocations: 0 / 415.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.2325, allocations: 0 / 415.6 MB, free: 12.06 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001201/0.2337, allocations: 0.6545 MB / 416.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2337, allocations: 8.031 kB / 416.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.2338, allocations: 40.7 kB / 416.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.2342, allocations: 272.7 kB / 416.6 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.2342, allocations: 25.03 kB / 416.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.2343, allocations: 32.31 kB / 416.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.2349, allocations: 298.3 kB / 416.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2349, allocations: 0 / 416.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2349, allocations: 16 kB / 416.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.2349, allocations: 8 kB / 416.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/0.2355, allocations: 246.5 kB / 417.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.2373, allocations: 1.116 MB / 418.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.2377, allocations: 149.5 kB / 418.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.2379, allocations: 80.73 kB / 418.5 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.2379, allocations: 0 / 418.5 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2379, allocations: 30.56 kB / 418.5 MB, free: 8.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.2379, allocations: 4 kB / 418.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.002077/0.24, allocations: 0.588 MB / 419.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.24, allocations: 55.41 kB / 419.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.2403, allocations: 270.5 kB / 419.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2404, allocations: 25.7 kB / 419.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.2405, allocations: 240 kB / 419.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.2406, allocations: 79.39 kB / 419.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2407, allocations: 69.42 kB / 419.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2408, allocations: 334.8 kB / 420.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.2411, allocations: 91.94 kB / 420.3 MB, free: 7.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.2415, allocations: 192.2 kB / 420.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/0.2422, allocations: 301.1 kB / 420.8 MB, free: 6.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2422, allocations: 4 kB / 420.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008994/0.2431, allocations: 397.4 kB / 421.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2431, allocations: 12 kB / 421.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2431, allocations: 0 / 421.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.2433, allocations: 57.67 kB / 421.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.2436, allocations: 75.89 kB / 421.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.2459, allocations: 2.837 MB / 424.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.2462, allocations: 24.05 kB / 424.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.2462, allocations: 16 kB / 424.2 MB, free: 2.828 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001622/0.2464, allocations: 153.7 kB / 424.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.2464, allocations: 23.86 kB / 424.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.93e-05/0.2465, allocations: 30.17 kB / 424.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2465, allocations: 11.88 kB / 424.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2465, allocations: 0 / 424.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2465, allocations: 7.984 kB / 424.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.2469, allocations: 329.4 kB / 424.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2469, allocations: 4 kB / 424.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.2471, allocations: 35.97 kB / 424.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.2473, allocations: 53.67 kB / 424.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2473, allocations: 11.94 kB / 424.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.2495, allocations: 2.838 MB / 427.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2495, allocations: 4.125 kB / 427.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.2502, allocations: 376.2 kB / 428 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.2503, allocations: 100.9 kB / 428.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.2503, allocations: 8 kB / 428.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.2505, allocations: 15.97 kB / 428.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.2506, allocations: 15.98 kB / 428.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2506, allocations: 11.98 kB / 428.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.2508, allocations: 186 kB / 428.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2508, allocations: 0 / 428.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.2512, allocations: 72 kB / 428.4 MB, free: 14.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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.0001234/0.2513, allocations: 111.2 kB / 428.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009692/0.2523, allocations: 468.9 kB / 429 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2523, allocations: 0 / 429 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.2528, allocations: 342.2 kB / 429.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.2532, allocations: 28.55 kB / 429.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2542, allocations: 0.5409 MB / 429.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.2546, allocations: 0.7714 MB / 430.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.2547, allocations: 30.27 kB / 430.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.2548, allocations: 27.38 kB / 430.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2548, allocations: 0 / 430.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Templates: time 0.00693/0.2617, allocations: 2.792 MB / 433.5 MB, free: 8.992 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches