Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 54.58 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2782, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003478/0.2816, allocations: 2.528 MB / 398.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.283, allocations: 0.725 MB / 399.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.2832, allocations: 5.594 kB / 399.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2833, allocations: 67.59 kB / 399.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.2835, allocations: 89.34 kB / 399.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.2839, allocations: 120.8 kB / 399.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.2843, allocations: 448.5 kB / 400.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.2846, allocations: 165.4 kB / 400.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.2849, allocations: 173.3 kB / 400.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.2851, allocations: 171.4 kB / 400.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.907e-05/0.2852, allocations: 45.59 kB / 400.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-05/0.2853, allocations: 45.03 kB / 400.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.2854, allocations: 100.6 kB / 401 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.2856, allocations: 185.1 kB / 401.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006314/0.2862, allocations: 0.493 MB / 401.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2862, allocations: 0 / 401.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2862, allocations: 1.188 kB / 401.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.2862, allocations: 4 kB / 401.7 MB, free: 5.641 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001011/0.2872, allocations: 0.6197 MB / 402.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.2873, allocations: 14.36 kB / 402.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.2874, allocations: 77.39 kB / 402.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.2874, allocations: 47.2 kB / 402.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.2877, allocations: 224.7 kB / 402.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.2878, allocations: 30.19 kB / 402.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/0.2879, allocations: 48.81 kB / 402.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.2886, allocations: 0.6111 MB / 403.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.2886, allocations: 9.031 kB / 403.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.2887, allocations: 20.44 kB / 403.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.2887, allocations: 10.03 kB / 403.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.2892, allocations: 279.1 kB / 403.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.291, allocations: 1.152 MB / 404.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.2915, allocations: 213.8 kB / 405 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.2918, allocations: 173.8 kB / 405.2 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2918, allocations: 3.062 kB / 405.2 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.2918, allocations: 38.19 kB / 405.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.2918, allocations: 0 / 405.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001308/0.2931, allocations: 479.8 kB / 405.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.2932, allocations: 238.2 kB / 405.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.2934, allocations: 208.1 kB / 406.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2934, allocations: 32.45 kB / 406.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2935, allocations: 204.3 kB / 406.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.2936, allocations: 104.3 kB / 406.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.2937, allocations: 64 kB / 406.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.2937, allocations: 334.9 kB / 406.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2939, allocations: 81.48 kB / 406.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.2941, allocations: 338.3 kB / 407.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008403/0.2949, allocations: 376.9 kB / 407.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2949, allocations: 0 / 407.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004605/0.2954, allocations: 283.6 kB / 407.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2954, allocations: 4.922 kB / 407.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2954, allocations: 1.25 kB / 407.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2955, allocations: 2.75 kB / 407.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.2958, allocations: 89.48 kB / 408 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2958, allocations: 2.75 kB / 408 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.296, allocations: 31.42 kB / 408 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.296, allocations: 9.047 kB / 408 MB, free: 1.363 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002722/0.2963, allocations: 161.5 kB / 408.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.2963, allocations: 29.55 kB / 408.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.2964, allocations: 37.27 kB / 408.3 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.2964, allocations: 6.75 kB / 408.3 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.2964, allocations: 3.453 kB / 408.3 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2964, allocations: 1.266 kB / 408.3 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2974, allocations: 0.7034 MB / 409 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2974, allocations: 1.953 kB / 409 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.2976, allocations: 51.55 kB / 409 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.2979, allocations: 86.5 kB / 409.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.2979, allocations: 10.3 kB / 409.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.2999, allocations: 1.857 MB / 411 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2999, allocations: 0 / 411 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008284/0.3008, allocations: 0.5026 MB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.3008, allocations: 24.12 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.3009, allocations: 8.078 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.301, allocations: 11.25 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3011, allocations: 25.44 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.3011, allocations: 10.44 kB / 411.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.3013, allocations: 151 kB / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3013, allocations: 0 / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000428/0.3017, allocations: 110.9 kB / 411.8 MB, free: 14.63 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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): 17 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.3029, allocations: 1.039 MB / 412.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005233/0.3035, allocations: 200.9 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3035, allocations: 0 / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005344/0.304, allocations: 261.6 kB / 413.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3043, allocations: 27.38 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.3087, allocations: 2.887 MB / 416.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3089, allocations: 177.5 kB / 416.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.309, allocations: 30.36 kB / 416.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.3092, allocations: 101.2 kB / 416.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3092, allocations: 0 / 416.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/0.3475, allocations: 6.532 MB / 423.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.48, allocations: 7.938 kB / 423.1 MB, free: 7.57 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.9984e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:time,C1.vinternal,C2.vinternal,L1.iinternal,L2.iinternal,L3.iinternal [Calling sys.exit(0), Time elapsed: 15.10910571506247]