Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 107.9 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 189.4 kB / 18 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 47.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2757, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00405/0.2798, allocations: 2.837 MB / 403.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2812, allocations: 0.7088 MB / 403.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.2813, allocations: 4 kB / 403.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.2815, allocations: 67.36 kB / 403.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.2817, allocations: 91.12 kB / 403.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.2821, allocations: 127.8 kB / 404.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.2826, allocations: 450.7 kB / 404.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.2829, allocations: 216.9 kB / 404.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.2832, allocations: 179.5 kB / 404.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.2834, allocations: 211.1 kB / 405.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.907e-05/0.2835, allocations: 44 kB / 405.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.2836, allocations: 48 kB / 405.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.2837, allocations: 99.67 kB / 405.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.2839, allocations: 211 kB / 405.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.2844, allocations: 0.4933 MB / 406 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2845, allocations: 0 / 406 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2845, allocations: 3.938 kB / 406 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2845, allocations: 4 kB / 406 MB, free: 3.043 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.001142/0.2856, allocations: 0.6938 MB / 406.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2857, allocations: 12.03 kB / 406.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.297e-05/0.2858, allocations: 78.7 kB / 406.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.2859, allocations: 52.66 kB / 406.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.2862, allocations: 285.1 kB / 407.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.2862, allocations: 33.36 kB / 407.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.2863, allocations: 44.38 kB / 407.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.2871, allocations: 455.4 kB / 407.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2871, allocations: 0 / 407.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.2872, allocations: 20 kB / 407.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.2872, allocations: 12 kB / 407.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.2877, allocations: 275.9 kB / 407.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2896, allocations: 1.307 MB / 409.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.2901, allocations: 242.7 kB / 409.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.2905, allocations: 196.7 kB / 409.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.2905, allocations: 4.5 kB / 409.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.2906, allocations: 34.56 kB / 409.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.2906, allocations: 0 / 409.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00145/0.292, allocations: 0.5576 MB / 410.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.2922, allocations: 243.3 kB / 410.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2924, allocations: 207 kB / 410.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.2924, allocations: 33.64 kB / 410.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.2926, allocations: 204.6 kB / 410.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.2927, allocations: 107.1 kB / 411 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2928, allocations: 65.69 kB / 411.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.293, allocations: 334.8 kB / 411.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.2931, allocations: 75.97 kB / 411.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.2934, allocations: 161.3 kB / 411.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.2937, allocations: 203.3 kB / 411.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2937, allocations: 0 / 411.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004698/0.2942, allocations: 281 kB / 412.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2942, allocations: 4 kB / 412.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2942, allocations: 0 / 412.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2943, allocations: 4 kB / 412.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.2946, allocations: 83.89 kB / 412.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2946, allocations: 0 / 412.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.2948, allocations: 39.83 kB / 412.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.2948, allocations: 4 kB / 412.3 MB, free: 12.37 MB / 334.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 (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.0001556/0.295, allocations: 153.8 kB / 412.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.2951, allocations: 27.8 kB / 412.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.797e-05/0.2951, allocations: 34.64 kB / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2951, allocations: 4 kB / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2952, allocations: 0 / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2952, allocations: 0 / 412.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2963, allocations: 0.7711 MB / 413.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.2963, allocations: 4 kB / 413.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.2965, allocations: 51.91 kB / 413.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.2969, allocations: 96.67 kB / 413.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2969, allocations: 8 kB / 413.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.299, allocations: 1.969 MB / 415.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.299, allocations: 7.984 kB / 415.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.2998, allocations: 0.5023 MB / 415.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.2999, allocations: 105 kB / 416 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.3, allocations: 8.062 kB / 416 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.3001, allocations: 8 kB / 416 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.3002, allocations: 23.97 kB / 416 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3002, allocations: 15.92 kB / 416 MB, free: 8.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.3004, allocations: 148.6 kB / 416.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3004, allocations: 0 / 416.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.3008, allocations: 115.7 kB / 416.3 MB, free: 8.074 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.001187/0.302, allocations: 1.055 MB / 417.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004475/0.3024, allocations: 215.8 kB / 417.6 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3024, allocations: 0 / 417.6 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004887/0.3029, allocations: 270.5 kB / 417.8 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.3033, allocations: 32.05 kB / 417.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.3069, allocations: 2.898 MB / 420.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.3073, allocations: 0.787 MB / 421.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.154e-05/0.3074, allocations: 21.95 kB / 421.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.3076, allocations: 103.4 kB / 421.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3076, allocations: 4 kB / 421.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.3423, allocations: 5.987 MB / 427.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.87, allocations: 9 kB / 427.7 MB, free: 12.65 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:C1.C,C1.IC,C1.UIC,C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C1.vinternal,C2.C,C2.IC,C2.UIC,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,C2.vinternal,L1.IC,L1.ICP.L,L1.ICP.di,L1.ICP.v,L1.L,L1.UIC,L1.i,L1.iinternal,L1.n.i,L1.n.v,L1.p.i,L1.p.v,L1.v,L2.IC,L2.ICP.L,L2.ICP.di,L2.ICP.v,L2.L,L2.UIC,L2.i,L2.iinternal,L2.n.i,L2.n.v,L2.p.i,L2.p.v,L2.v,L3.IC,L3.ICP.L,L3.ICP.di,L3.ICP.v,L3.L,L3.UIC,L3.i,L3.iinternal,L3.n.i,L3.n.v,L3.p.i,L3.p.v,L3.v,R1.R,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.v,R2.R,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.v,R3.R,R3.i,R3.n.i,R3.n.v,R3.p.i,R3.p.v,R3.v,R4.R,R4.i,R4.n.i,R4.n.v,R4.p.i,R4.p.v,R4.v,R5.R,R5.i,R5.n.i,R5.n.v,R5.p.i,R5.p.v,R5.v,der(C1.vinternal),der(C2.vinternal),der(L1.iinternal),der(L2.iinternal),der(L3.iinternal),ground.p.i,ground.p.v,k1.M,k1.inductiveCouplePin1.L,k1.inductiveCouplePin1.di,k1.inductiveCouplePin1.v,k1.inductiveCouplePin2.L,k1.inductiveCouplePin2.di,k1.inductiveCouplePin2.v,k1.k,k2.M,k2.inductiveCouplePin1.L,k2.inductiveCouplePin1.di,k2.inductiveCouplePin1.v,k2.inductiveCouplePin2.L,k2.inductiveCouplePin2.di,k2.inductiveCouplePin2.v,k2.k,k3.M,k3.inductiveCouplePin1.L,k3.inductiveCouplePin1.di,k3.inductiveCouplePin1.v,k3.inductiveCouplePin2.L,k3.inductiveCouplePin2.di,k3.inductiveCouplePin2.v,k3.k,sineVoltage.FREQ,sineVoltage.TD,sineVoltage.THETA,sineVoltage.VA,sineVoltage.VO,sineVoltage.i,sineVoltage.n.i,sineVoltage.n.v,sineVoltage.p.i,sineVoltage.p.v,sineVoltage.v,time