Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 191.2 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 226.6 MB / 244.7 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007039/0.000704, allocations: 84.61 kB / 296.8 MB, free: 6.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 8 kB / 356.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 51.3 MB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.002659/0.2234, allocations: 3.15 MB / 411.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.2251, allocations: 1.362 MB / 412.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.2253, allocations: 8 kB / 412.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.2256, allocations: 120.2 kB / 412.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006784/0.2263, allocations: 324.4 kB / 413 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.227, allocations: 456.8 kB / 413.5 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.2273, allocations: 426.1 kB / 413.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.2283, allocations: 0.7543 MB / 414.6 MB, free: 21.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.2286, allocations: 175.3 kB / 414.8 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.2288, allocations: 231 kB / 415 MB, free: 20.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.2288, allocations: 20 kB / 415 MB, free: 20.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.2292, allocations: 179.8 kB / 415.2 MB, free: 20.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.2292, allocations: 83.59 kB / 415.3 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2293, allocations: 228.7 kB / 415.5 MB, free: 20.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.2297, allocations: 0.519 MB / 416 MB, free: 19.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2298, allocations: 0 / 416 MB, free: 19.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2298, allocations: 0 / 416 MB, free: 19.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2298, allocations: 0 / 416 MB, free: 19.71 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00163/0.2314, allocations: 0.8234 MB / 416.9 MB, free: 18.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2315, allocations: 8.031 kB / 416.9 MB, free: 18.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.2346, allocations: 499.9 kB / 417.4 MB, free: 18.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.235, allocations: 311.6 kB / 417.7 MB, free: 18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.235, allocations: 45.69 kB / 417.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.2351, allocations: 48.38 kB / 417.8 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008285/0.2359, allocations: 0.5259 MB / 418.3 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.2359, allocations: 7.906 kB / 418.3 MB, free: 17.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.236, allocations: 27.98 kB / 418.3 MB, free: 17.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.236, allocations: 12 kB / 418.3 MB, free: 17.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.2369, allocations: 0.5829 MB / 418.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.2394, allocations: 1.954 MB / 420.9 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.2408, allocations: 2.174 MB / 423 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.2412, allocations: 258.1 kB / 423.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.2413, allocations: 178.6 kB / 423.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2414, allocations: 42.94 kB / 423.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.314e-06/0.2414, allocations: 0 / 423.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001547/0.2429, allocations: 0.7505 MB / 424.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.243, allocations: 59.84 kB / 424.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2431, allocations: 183.2 kB / 424.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2432, allocations: 37.64 kB / 424.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.2432, allocations: 220.4 kB / 424.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.2433, allocations: 157.7 kB / 424.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.2434, allocations: 8 kB / 424.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.2434, allocations: 338.8 kB / 425.2 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.2437, allocations: 149.1 kB / 425.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.244, allocations: 250.5 kB / 425.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/0.2445, allocations: 428.8 kB / 426 MB, free: 8.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2445, allocations: 3.938 kB / 426.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008405/0.2454, allocations: 0.5394 MB / 426.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2454, allocations: 8 kB / 426.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2454, allocations: 3.984 kB / 426.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.2457, allocations: 80.94 kB / 426.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.2461, allocations: 99.83 kB / 426.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.2474, allocations: 1.64 MB / 428.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.2477, allocations: 51.58 kB / 428.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.2477, allocations: 16 kB / 428.5 MB, free: 6.328 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.2479, allocations: 173.7 kB / 428.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.248, allocations: 31.61 kB / 428.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009103/0.2489, allocations: 0.5473 MB / 429.2 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2489, allocations: 4 kB / 429.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2489, allocations: 3.984 kB / 429.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2489, allocations: 4 kB / 429.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.2503, allocations: 1.153 MB / 430.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2503, allocations: 7.984 kB / 430.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2506, allocations: 83.95 kB / 430.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.2508, allocations: 77.03 kB / 430.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.2509, allocations: 19.92 kB / 430.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.252, allocations: 1.624 MB / 432.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.252, allocations: 3.938 kB / 432.2 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.2531, allocations: 0.8219 MB / 433 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.2532, allocations: 120.7 kB / 433.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.2532, allocations: 4 kB / 433.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.2534, allocations: 20 kB / 433.2 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.2535, allocations: 40.44 kB / 433.2 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.2536, allocations: 16 kB / 433.2 MB, free: 1.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.546e-05/0.2537, allocations: 132.2 kB / 433.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2537, allocations: 0 / 433.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005084/0.2542, allocations: 151.6 kB / 433.5 MB, free: 1.047 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000245/0.2544, allocations: 143.1 kB / 433.6 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000909/0.2553, allocations: 0.5737 MB / 434.2 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2554, allocations: 0 / 434.2 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004998/0.2559, allocations: 385.8 kB / 434.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.2563, allocations: 39.78 kB / 434.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.2575, allocations: 1.049 MB / 435.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2579, allocations: 0.8009 MB / 436.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.258, allocations: 39.42 kB / 436.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.258, allocations: 0 / 436.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of Templates: time 0.008344/0.2664, allocations: 6.283 MB / 442.8 MB, free: 7.645 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches